summaryrefslogtreecommitdiff
path: root/include/array.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/array.h')
-rw-r--r--include/array.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/array.h b/include/array.h
index d238862..882670a 100644
--- a/include/array.h
+++ b/include/array.h
@@ -38,7 +38,7 @@ public:
* Move constructor from a value object
* @param value
*/
- Array(Value &&value) noexcept : Value(std::move(value))
+ Array(Value &&value) _NOEXCEPT : Value(std::move(value))
{
// type must be valid
if (value.type() != Type::Array) throw FatalError("Moving a non-array to an array variable");
@@ -107,7 +107,7 @@ public:
* @param value
* @return Array
*/
- Array &operator=(Value &&value) noexcept
+ Array &operator=(Value &&value) _NOEXCEPT
{
// skip self assignment
if (this == &value) return *this;