diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-10-13 06:03:45 +0400 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-10-13 06:03:45 +0400 |
commit | 88db3171dd5dcc54e3890b6f823c60831fc520a5 (patch) | |
tree | 152ba3680b06c51899bab0a2ad95ea083ef0b976 /libcxx/include/string | |
parent | ce17b0f5b805630bb71f99bfdf820e2c57a34f7e (diff) |
Don't neglect to "return *this".
llvm-svn: 165860
Diffstat (limited to 'libcxx/include/string')
-rw-r--r-- | libcxx/include/string | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/include/string b/libcxx/include/string index 7c022dcaf553..89a00e55b4bb 100644 --- a/libcxx/include/string +++ b/libcxx/include/string @@ -2208,6 +2208,7 @@ basic_string<_CharT, _Traits, _Allocator>::assign(_InputIterator __first, _Input clear(); for (; __first != __last; ++__first) push_back(*__first); + return *this; } template <class _CharT, class _Traits, class _Allocator> |