summaryrefslogtreecommitdiff
path: root/test/support/allocators.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/support/allocators.h')
-rw-r--r--test/support/allocators.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/support/allocators.h b/test/support/allocators.h
index 4aa467f824aa6..b1eea8d0b6830 100644
--- a/test/support/allocators.h
+++ b/test/support/allocators.h
@@ -15,7 +15,7 @@
#include "test_macros.h"
-#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
+#if TEST_STD_VER >= 11
template <class T>
class A1
@@ -186,6 +186,6 @@ bool operator!=(const A3<T>& x, const A3<U>& y)
return !(x == y);
}
-#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
+#endif // TEST_STD_VER >= 11
#endif // ALLOCATORS_H