forked from OSchip/llvm-project
Add always_inline to string move constructors
llvm-svn: 124252
This commit is contained in:
parent
9ac6c5e2d4
commit
ad16003517
|
@ -1033,7 +1033,9 @@ public:
|
||||||
basic_string(const basic_string& __str);
|
basic_string(const basic_string& __str);
|
||||||
basic_string(const basic_string& __str, const allocator_type& __a);
|
basic_string(const basic_string& __str, const allocator_type& __a);
|
||||||
#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
|
#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
|
||||||
|
_LIBCPP_INLINE_VISIBILITY
|
||||||
basic_string(basic_string&& __str);
|
basic_string(basic_string&& __str);
|
||||||
|
_LIBCPP_INLINE_VISIBILITY
|
||||||
basic_string(basic_string&& __str, const allocator_type& __a);
|
basic_string(basic_string&& __str, const allocator_type& __a);
|
||||||
#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
|
#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
|
||||||
_LIBCPP_INLINE_VISIBILITY basic_string(const_pointer __s);
|
_LIBCPP_INLINE_VISIBILITY basic_string(const_pointer __s);
|
||||||
|
|
Loading…
Reference in New Issue