diff options
author | Howard Hinnant <hhinnant@apple.com> | 2011-01-26 03:06:59 +0300 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2011-01-26 03:06:59 +0300 |
commit | ad16003517e889ace5bfc2f9f46242126836c4d1 (patch) | |
tree | 3f65adf4dead92d8e279821ac5b768b0bdfa3117 /libcxx/include/string | |
parent | 9ac6c5e2d4176895cda3315a4283503d96074122 (diff) |
Add always_inline to string move constructors
llvm-svn: 124252
Diffstat (limited to 'libcxx/include/string')
-rw-r--r-- | libcxx/include/string | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/include/string b/libcxx/include/string index 469e3dd507ba..b3bc58e7aca7 100644 --- a/libcxx/include/string +++ b/libcxx/include/string @@ -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); |