summaryrefslogtreecommitdiffstats
path: root/libcxx/src/strstream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/src/strstream.cpp')
-rw-r--r--libcxx/src/strstream.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/src/strstream.cpp b/libcxx/src/strstream.cpp
index f06c2a229fb..b93577f93fa 100644
--- a/libcxx/src/strstream.cpp
+++ b/libcxx/src/strstream.cpp
@@ -100,7 +100,7 @@ strstreambuf::strstreambuf(const unsigned char* __gnext, streamsize __n)
__init((char*)__gnext, __n, nullptr);
}
-#ifdef _LIBCPP_MOVE
+#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
strstreambuf::strstreambuf(strstreambuf&& __rhs)
: streambuf(__rhs),
@@ -132,7 +132,7 @@ strstreambuf::operator=(strstreambuf&& __rhs)
__rhs.setp(nullptr, nullptr);
}
-#endif // _LIBCPP_MOVE
+#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
strstreambuf::~strstreambuf()
{
OpenPOWER on IntegriCloud