Add always_inline to string move constructors

llvm-svn: 124252
This commit is contained in:
Howard Hinnant 2011-01-26 00:06:59 +00:00
parent 9ac6c5e2d4
commit ad16003517
1 changed files with 2 additions and 0 deletions

View File

@ -1033,7 +1033,9 @@ public:
basic_string(const basic_string& __str);
basic_string(const basic_string& __str, const allocator_type& __a);
#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
_LIBCPP_INLINE_VISIBILITY
basic_string(basic_string&& __str);
_LIBCPP_INLINE_VISIBILITY
basic_string(basic_string&& __str, const allocator_type& __a);
#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
_LIBCPP_INLINE_VISIBILITY basic_string(const_pointer __s);