summaryrefslogtreecommitdiff
path: root/test/support/MoveOnly.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/support/MoveOnly.h')
-rw-r--r--test/support/MoveOnly.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/support/MoveOnly.h b/test/support/MoveOnly.h
index 0ffb4ffe3b2fe..4afa8aef7104a 100644
--- a/test/support/MoveOnly.h
+++ b/test/support/MoveOnly.h
@@ -12,7 +12,7 @@
#include "test_macros.h"
-#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
+#if TEST_STD_VER >= 11
#include <cstddef>
#include <functional>
@@ -49,6 +49,6 @@ struct hash<MoveOnly>
}
-#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
+#endif // TEST_STD_VER >= 11
#endif // MOVEONLY_H