summaryrefslogtreecommitdiff
path: root/include/hiddenpointer.h
diff options
context:
space:
mode:
authorRoland Eischer <r.eischer@certec.at>2015-01-26 09:23:36 +0100
committerRoland Eischer <r.eischer@certec.at>2015-01-26 09:25:58 +0100
commit47855f1c68a282903a8db470697915bd419ec17c (patch)
tree29c8eee83ee64edfdf904a55399cf67f0d407078 /include/hiddenpointer.h
parent30eff69a10898dd9b2fb10ed07ae8c68458a5ad2 (diff)
Added macro wrapper for noexcept
- Added macro wrapper for noexcept to support MSVC compiler.
Diffstat (limited to 'include/hiddenpointer.h')
-rw-r--r--include/hiddenpointer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hiddenpointer.h b/include/hiddenpointer.h
index 5465ebb..955e7d7 100644
--- a/include/hiddenpointer.h
+++ b/include/hiddenpointer.h
@@ -84,7 +84,7 @@ public:
* Move constructor
* @param that
*/
- HiddenPointer(HiddenPointer<Type> &&that) noexcept : _allocated(that._allocated), _buffer(that._buffer)
+ HiddenPointer(HiddenPointer<Type> &&that) _NOEXCEPT : _allocated(that._allocated), _buffer(that._buffer)
{
// the other object is no longer allocated
that._allocated = false;