summaryrefslogtreecommitdiffstats
path: root/libcxx/test/support/MoveOnly.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/support/MoveOnly.h')
-rw-r--r--libcxx/test/support/MoveOnly.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/support/MoveOnly.h b/libcxx/test/support/MoveOnly.h
index 0ffb4ffe3b2..4afa8aef710 100644
--- a/libcxx/test/support/MoveOnly.h
+++ b/libcxx/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
OpenPOWER on IntegriCloud