commit | 1dc6f7ab975323ba3aca9bcfc884a15a7aac7834 | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Sat Oct 13 02:03:45 2012 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Sat Oct 13 02:03:45 2012 +0000 |
tree | 3a868f137aca521fac9c68f18eefb604d926f8a9 | |
parent | 75536baae747cc5e2202285e416ef037a70cd156 [diff] [blame] |
Don't neglect to "return *this". git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@165860 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/string b/include/string index 7c022dc..89a00e5 100644 --- a/include/string +++ b/include/string
@@ -2208,6 +2208,7 @@ clear(); for (; __first != __last; ++__first) push_back(*__first); + return *this; } template <class _CharT, class _Traits, class _Allocator>