From b6cfdef98f487fc5ae38c170fa52bcf031e882e2 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Tue, 13 Jan 2015 23:43:57 +0100 Subject: Made functions move and copy constructible. Why? Because I can. --- src/core/common/Function.hpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/core/common/Function.hpp') diff --git a/src/core/common/Function.hpp b/src/core/common/Function.hpp index 0e8af12..adfc9bb 100644 --- a/src/core/common/Function.hpp +++ b/src/core/common/Function.hpp @@ -62,11 +62,6 @@ protected: virtual Variant doCall(Variant::arrayType &args, void *thisRef) const = 0; public: - // No copy constructor - Function(const Function &) = delete; - - // No move constructor - Function(Function &&) = delete; /** * Virtual destructor of the Function class. -- cgit v1.2.3