diff options
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 ae54212..4593e5d 100644 --- a/include/global.h +++ b/include/global.h @@ -34,7 +34,7 @@ public: * Move constructor * @param global */ - Global(Global &&global) : 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) + Global &operator=(Global &&global) noexcept { // skip self assignment if (&global == this) return *this; |