summaryrefslogtreecommitdiffstats
path: root/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/ext/vstring.h
diff options
context:
space:
mode:
Diffstat (limited to '8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/ext/vstring.h')
-rw-r--r--8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/ext/vstring.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/ext/vstring.h b/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/ext/vstring.h
index 6377ca5..a259d23 100644
--- a/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/ext/vstring.h
+++ b/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/ext/vstring.h
@@ -167,7 +167,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
* string.
*/
__versa_string(__versa_string&& __str)
- : __vstring_base(std::forward<__vstring_base>(__str)) { }
+ : __vstring_base(std::move(__str)) { }
/**
* @brief Construct string from an initializer list.
@@ -1454,11 +1454,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
* constant time.
*/
void
-#ifdef __GXX_EXPERIMENTAL_CXX0X__
- swap(__versa_string&& __s)
-#else
swap(__versa_string& __s)
-#endif
{ this->_M_swap(__s); }
// String operations: