diff options
Diffstat (limited to 'src/ast/ast.hpp')
-rw-r--r-- | src/ast/ast.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ast/ast.hpp b/src/ast/ast.hpp index 7f6a61ff..b7601192 100644 --- a/src/ast/ast.hpp +++ b/src/ast/ast.hpp @@ -171,6 +171,7 @@ public: {}
Function(const Function&) = delete;
Function(Function&&) noexcept = default;
+ Function& operator=(Function&&) = default;
Function(GenericParams params, TypeRef ret_type, Arglist args):
m_params( move(params) ),
m_rettype( move(ret_type) ),
|