From 7de54a86f4fc04a5ce7d2e9f8ba7ab84fecd318d Mon Sep 17 00:00:00 2001 From: Adam Midvidy Date: Thu, 13 Aug 2015 14:45:22 -0400 Subject: [PATCH] SERVER-19720 add missing BOOST_NOEXCEPT to fix MSVC --- src/mongo/base/system_error.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mongo/base/system_error.cpp b/src/mongo/base/system_error.cpp index c8085f88bbbdf..0443590b8e101 100644 --- a/src/mongo/base/system_error.cpp +++ b/src/mongo/base/system_error.cpp @@ -44,7 +44,7 @@ class MongoErrorCategoryImpl final : public std::error_category { public: MongoErrorCategoryImpl() = default; - const char* name() const noexcept override { + const char* name() const BOOST_NOEXCEPT override { return "mongo"; }