summaryrefslogtreecommitdiff
path: root/src/mongo/stdx
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2016-05-03 16:49:32 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2016-05-03 16:49:32 -0400
commit4ea097b36ec3d7e490c405ce66708db0d177fca6 (patch)
treead887d2172a13caea02210480cbd63ab59d0904d /src/mongo/stdx
parent6b87a77ced925398b7485abaf0fa36bafcccc52a (diff)
downloadmongo-4ea097b36ec3d7e490c405ce66708db0d177fca6.tar.gz
SERVER-23548 Remove VS2013 workarounds
Diffstat (limited to 'src/mongo/stdx')
-rw-r--r--src/mongo/stdx/mutex.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/mongo/stdx/mutex.h b/src/mongo/stdx/mutex.h
index dee03c3c0fe..91ce36d8a35 100644
--- a/src/mongo/stdx/mutex.h
+++ b/src/mongo/stdx/mutex.h
@@ -49,17 +49,9 @@ using ::std::try_to_lock_t; // NOLINT
using ::std::lock_guard; // NOLINT
using ::std::unique_lock; // NOLINT
-#if _MSC_VER < 1900
-#define MONGO_STDX_CONSTEXPR const
-#else
-#define MONGO_STDX_CONSTEXPR constexpr
-#endif
-
-MONGO_STDX_CONSTEXPR adopt_lock_t adopt_lock{};
-MONGO_STDX_CONSTEXPR defer_lock_t defer_lock{};
-MONGO_STDX_CONSTEXPR try_to_lock_t try_to_lock{};
-
-#undef MONGO_STDX_CONSTEXPR
+constexpr adopt_lock_t adopt_lock{};
+constexpr defer_lock_t defer_lock{};
+constexpr try_to_lock_t try_to_lock{};
} // namespace stdx
} // namespace mongo