summaryrefslogtreecommitdiff
path: root/include/object.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/object.h')
-rw-r--r--include/object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/object.h b/include/object.h
index 745b7c6..56d7e83 100644
--- a/include/object.h
+++ b/include/object.h
@@ -106,7 +106,7 @@ public:
* Change the internal type of the variable
* @param Type
*/
- virtual Value &setType(Type type) override
+ virtual Value &setType(Type type) & override
{
// throw exception if things are going wrong
if (type != Type::Object) throw FatalError("Changing type of a fixed object variable");