summaryrefslogtreecommitdiffstats
path: root/libcxx/test/re/re.iter/re.tokiter/re.tokiter.cnstr/init.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/re/re.iter/re.tokiter/re.tokiter.cnstr/init.pass.cpp')
-rw-r--r--libcxx/test/re/re.iter/re.tokiter/re.tokiter.cnstr/init.pass.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/re/re.iter/re.tokiter/re.tokiter.cnstr/init.pass.cpp b/libcxx/test/re/re.iter/re.tokiter/re.tokiter.cnstr/init.pass.cpp
index 8c03334ef2e..45969b4df22 100644
--- a/libcxx/test/re/re.iter/re.tokiter/re.tokiter.cnstr/init.pass.cpp
+++ b/libcxx/test/re/re.iter/re.tokiter/re.tokiter.cnstr/init.pass.cpp
@@ -22,7 +22,7 @@
int main()
{
-#ifdef _LIBCPP_MOVE
+#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
{
std::regex phone_numbers("\\d{3}-(\\d{4})");
const char phone_book[] = "start 555-1234, 555-2345, 555-3456 end";
@@ -60,5 +60,5 @@ int main()
++i;
assert(i == std::cregex_token_iterator());
}
-#endif // _LIBCPP_MOVE
+#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
}
OpenPOWER on IntegriCloud