Browse Source

GCC 4.6 compatibility: no in-class data initializers.

pull/278/head
Vladimír Vondruš 13 years ago
parent
commit
d7d47eb639
  1. 4
      src/Text/Test/AbstractFontTest.cpp

4
src/Text/Test/AbstractFontTest.cpp

@ -49,6 +49,8 @@ namespace {
class SingleDataFont: public Text::AbstractFont {
public:
explicit SingleDataFont(): opened(false) {}
Features doFeatures() const override { return Feature::OpenData; }
bool doIsOpened() const override { return opened; }
void doClose() override {}
@ -65,7 +67,7 @@ class SingleDataFont: public Text::AbstractFont {
return nullptr;
}
bool opened = false;
bool opened;
};
}

Loading…
Cancel
Save