diff options
Diffstat (limited to 'include/array.h')
-rw-r--r-- | include/array.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/array.h b/include/array.h index 126cd58..925e902 100644 --- a/include/array.h +++ b/include/array.h @@ -79,7 +79,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::Array) throw FatalError("Changing type of a fixed array variable"); |