fixed: add const qualifier

base class exposes a virtual createG2 so the
override needs to follow suite to avoid warnings.
This commit is contained in:
Arne Morten Kvarving
2017-02-15 12:07:53 +01:00
parent fcc9d8cc10
commit 9beae5d47e

View File

@@ -25,7 +25,7 @@ template<class Generator>
class TestModelGeneratorWrapper : public Generator {
public:
TestModelGeneratorWrapper(const TiXmlElement* geo) : Generator(geo) {}
std::string createG2(int nsd)
std::string createG2(int nsd) const
{
return Generator::createG2(nsd);
}