diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2016-12-22 11:28:01 -0500 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2016-12-22 11:28:01 -0500 |
commit | 46f05091c9a7d46b3233a12f28d04e29b6f1dfc9 (patch) | |
tree | af7993d71ed99a532782fb8fb888fe8f583778fc /src/mongo/base/status.h | |
parent | 79631667e6a9371c0a664898256c863afa0f7dd7 (diff) | |
download | mongo-46f05091c9a7d46b3233a12f28d04e29b6f1dfc9.tar.gz |
SERVER-24398 Remove use of boost NOEXCEPT macros in favor of true C++11 noexcept
Diffstat (limited to 'src/mongo/base/status.h')
-rw-r--r-- | src/mongo/base/status.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/base/status.h b/src/mongo/base/status.h index a0cb50beee9..19b74a5a8cb 100644 --- a/src/mongo/base/status.h +++ b/src/mongo/base/status.h @@ -27,7 +27,6 @@ #pragma once -#include <boost/config.hpp> #include <iosfwd> #include <string> @@ -91,8 +90,8 @@ public: inline Status(const Status& other); inline Status& operator=(const Status& other); - inline Status(Status&& other) BOOST_NOEXCEPT; - inline Status& operator=(Status&& other) BOOST_NOEXCEPT; + inline Status(Status&& other) noexcept; + inline Status& operator=(Status&& other) noexcept; inline ~Status(); |