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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user