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 @@
namespace VM
{
Functor::~Functor() {}
void ExternalModuleResetFunctor::operator()(
const std::string & /*moduleName*/,
const Kumir::String &localizedName,
......
......@@ -45,7 +45,7 @@ public:
/* =================== Begin functors declarations ======================= */
class Functor
class VM_DLL Functor
{
public:
enum Type {
......@@ -64,8 +64,8 @@ public:
};
virtual Type type() const = 0;
protected:
// destructor MUST me virtual even not need
virtual ~Functor() {}
// destructor MUST be virtual even not need
virtual ~Functor();
};
/* ====== 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