X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Ftyperegistry.h;h=193fe07fa9810d1426a4a430e53e26d9eeb802c4;hp=dd5dc01ba2e1e96db0e9056d7d5a9202669814cb;hb=991fabc1956b73a4007859058fb44171000b452e;hpb=f832af5e832a5be2804e5613a73e7cc75428956c diff --git a/source/core/typeregistry.h b/source/core/typeregistry.h index dd5dc01..193fe07 100644 --- a/source/core/typeregistry.h +++ b/source/core/typeregistry.h @@ -40,7 +40,7 @@ private: RegisteredType(const std::string &kw): TypeBase(kw) { } - virtual void invoke(T arg) const { action(this->keyword, arg); } + void invoke(T arg) const override { action(this->keyword, arg); } }; std::map types;