summaryrefslogtreecommitdiff
path: root/include/scoped_allocator
diff options
context:
space:
mode:
Diffstat (limited to 'include/scoped_allocator')
-rw-r--r--include/scoped_allocator4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/scoped_allocator b/include/scoped_allocator
index 9436dac9c..04e738645 100644
--- a/include/scoped_allocator
+++ b/include/scoped_allocator
@@ -115,7 +115,7 @@ template <class OuterA1, class OuterA2, class... InnerAllocs>
_LIBCPP_BEGIN_NAMESPACE_STD
-#if !defined(_LIBCPP_HAS_NO_RVALUE_REFERENCES) && !defined(_LIBCPP_HAS_NO_ADVANCED_SFINAE)
+#if !defined(_LIBCPP_CXX03_LANG)
// scoped_allocator_adaptor
@@ -597,7 +597,7 @@ operator!=(const scoped_allocator_adaptor<_OuterA1, _InnerAllocs...>& __a,
return !(__a == __b);
}
-#endif // !defined(_LIBCPP_HAS_NO_RVALUE_REFERENCES) && !defined(_LIBCPP_HAS_NO_ADVANCED_SFINAE)
+#endif // !defined(_LIBCPP_CXX03_LANG)
_LIBCPP_END_NAMESPACE_STD