diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2015-01-26 10:12:38 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2015-01-26 10:12:38 +0100 |
commit | e363d36a55e74d12aeef28b2a4b1f3ba074495fd (patch) | |
tree | 29c8eee83ee64edfdf904a55399cf67f0d407078 /include/array.h | |
parent | 30eff69a10898dd9b2fb10ed07ae8c68458a5ad2 (diff) | |
parent | 47855f1c68a282903a8db470697915bd419ec17c (diff) |
Merge pull request #165 from atvise/redefine_noexept
Added macro wrapper for noexcept
Diffstat (limited to 'include/array.h')
-rw-r--r-- | include/array.h | 4 |
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; |