diff options
author | valmat <ufabiz@gmail.com> | 2014-11-26 01:13:36 +0600 |
---|---|---|
committer | valmat <ufabiz@gmail.com> | 2014-11-26 01:13:36 +0600 |
commit | 7320131b8caada0e7237e33ef4e0340577627ef4 (patch) | |
tree | ff8eb589c6c5390f1380115403e6140d1bd9e118 /include/class.h | |
parent | cf25fa0b9636d232c63f01824d66289ab9a89b81 (diff) |
Marked `noexcept` all move constructors and assigment operators
See: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3050.html
Diffstat (limited to 'include/class.h')
-rw-r--r-- | include/class.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/class.h b/include/class.h index cffc7bd..9257213 100644 --- a/include/class.h +++ b/include/class.h @@ -48,7 +48,7 @@ public: * Move constructor * @param that */ - Class(Class<T> &&that) : ClassBase(std::move(that)) {} + Class(Class<T> &&that) noexcept : ClassBase(std::move(that)) {} /** * Destructor |