From 276008e5496427cf9c3b18d4c01b73e064e37004 Mon Sep 17 00:00:00 2001 From: samantharitter Date: Wed, 5 Apr 2017 12:29:48 -0400 Subject: SERVER-28643 Do not rely on __cplusplus value for inclusion of void_t --- src/mongo/stdx/type_traits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mongo/stdx') diff --git a/src/mongo/stdx/type_traits.h b/src/mongo/stdx/type_traits.h index 40503382d96..a746ef47096 100644 --- a/src/mongo/stdx/type_traits.h +++ b/src/mongo/stdx/type_traits.h @@ -64,7 +64,7 @@ using std::void_t; } // namespace stdx } // namespace mongo -#elif __cplusplus >= 201402 +#else namespace mongo { namespace stdx { -- cgit v1.2.1