From 7320131b8caada0e7237e33ef4e0340577627ef4 Mon Sep 17 00:00:00 2001 From: valmat Date: Wed, 26 Nov 2014 01:13:36 +0600 Subject: Marked `noexcept` all move constructors and assigment operators See: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3050.html --- include/object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/object.h') diff --git a/include/object.h b/include/object.h index 98e2553..2e92f6a 100644 --- a/include/object.h +++ b/include/object.h @@ -119,7 +119,7 @@ public: * @param value * @return ForcedValue */ - Object &operator=(Value &&value) + Object &operator=(Value &&value) noexcept { // skip self assignment if (this == &value) return *this; -- cgit v1.2.3