diff options
Diffstat (limited to 'include/hiddenpointer.h')
-rw-r--r-- | include/hiddenpointer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hiddenpointer.h b/include/hiddenpointer.h index dc981c0..5465ebb 100644 --- a/include/hiddenpointer.h +++ b/include/hiddenpointer.h @@ -84,7 +84,7 @@ public: * Move constructor * @param that */ - HiddenPointer(HiddenPointer<Type> &&that) : _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; |