Commit a1ea7c6b authored by Alexander A. Maly's avatar Alexander A. Maly

Made VM::Functor dll-export to suppress warning

parent 56f73f05
Pipeline #2667 passed with stages
in 4 minutes and 26 seconds
...@@ -9,6 +9,8 @@ ...@@ -9,6 +9,8 @@
namespace VM namespace VM
{ {
Functor::~Functor() {}
void ExternalModuleResetFunctor::operator()( void ExternalModuleResetFunctor::operator()(
const std::string & /*moduleName*/, const std::string & /*moduleName*/,
const Kumir::String &localizedName, const Kumir::String &localizedName,
......
...@@ -45,7 +45,7 @@ public: ...@@ -45,7 +45,7 @@ public:
/* =================== Begin functors declarations ======================= */ /* =================== Begin functors declarations ======================= */
class Functor class VM_DLL Functor
{ {
public: public:
enum Type { enum Type {
...@@ -64,8 +64,8 @@ public: ...@@ -64,8 +64,8 @@ public:
}; };
virtual Type type() const = 0; virtual Type type() const = 0;
protected: protected:
// destructor MUST me virtual even not need // destructor MUST be virtual even not need
virtual ~Functor() {} virtual ~Functor();
}; };
/* ====== Functors for external modules initialization ====== */ /* ====== Functors for external modules initialization ====== */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment