diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2015-01-10 10:08:58 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2015-01-10 10:08:58 +0100 |
commit | fb80367d418f9a9fb059c98d5aec80febeb3bd23 (patch) | |
tree | d1a1c40b8339ba36eaac61c64753c45f1e5e0642 /include/global.h | |
parent | bdbc7b6c2430aaf396f79fc9ca097534f2c964ac (diff) | |
parent | 7320131b8caada0e7237e33ef4e0340577627ef4 (diff) |
Merge branch 'improvements' of https://github.com/valmat/PHP-CPP
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; |