Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2011-01-26 03:06:59 +0300
committerHoward Hinnant <hhinnant@apple.com>2011-01-26 03:06:59 +0300
commitad16003517e889ace5bfc2f9f46242126836c4d1 (patch)
tree3f65adf4dead92d8e279821ac5b768b0bdfa3117 /libcxx/include/string
parent9ac6c5e2d4176895cda3315a4283503d96074122 (diff)
Add always_inline to string move constructors
llvm-svn: 124252
Diffstat (limited to 'libcxx/include/string')
-rw-r--r--libcxx/include/string2
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);