diff options
author | Roland Eischer <r.eischer@certec.at> | 2015-01-26 09:23:36 +0100 |
---|---|---|
committer | Roland Eischer <r.eischer@certec.at> | 2015-01-26 09:25:58 +0100 |
commit | 47855f1c68a282903a8db470697915bd419ec17c (patch) | |
tree | 29c8eee83ee64edfdf904a55399cf67f0d407078 /include/array.h | |
parent | 30eff69a10898dd9b2fb10ed07ae8c68458a5ad2 (diff) |
Added macro wrapper for noexcept
- Added macro wrapper for noexcept to support MSVC compiler.
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; |