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/global.h | |
parent | 30eff69a10898dd9b2fb10ed07ae8c68458a5ad2 (diff) |
Added macro wrapper for noexcept
- Added macro wrapper for noexcept to support MSVC compiler.
Diffstat (limited to 'include/global.h')
-rw-r--r-- | include/global.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/global.h b/include/global.h index 4593e5d..2757979 100644 --- a/include/global.h +++ b/include/global.h @@ -34,7 +34,7 @@ public: * Move constructor * @param global */ - Global(Global &&global) noexcept : Value(std::move(global)), _name(std::move(global._name)), _exists(global._exists) {} + Global(Global &&global) _NOEXCEPT : Value(std::move(global)), _name(std::move(global._name)), _exists(global._exists) {} /** * Destructor @@ -70,7 +70,7 @@ public: * @return Global */ /* - Global &operator=(Global &&global) noexcept + Global &operator=(Global &&global) _NOEXCEPT { // skip self assignment if (&global == this) return *this; |