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/future | |
parent | ce17b0f5b805630bb71f99bfdf820e2c57a34f7e (diff) |
Don't neglect to "return *this".
llvm-svn: 165860
Diffstat (limited to 'libcxx/include/future')
-rw-r--r-- | libcxx/include/future | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/include/future b/libcxx/include/future index 758296a12f08..39475bd955c8 100644 --- a/libcxx/include/future +++ b/libcxx/include/future @@ -1872,6 +1872,7 @@ __packaged_task_function<_Rp(_ArgTypes...)>::operator=(__packaged_task_function& __f_ = __f.__f_; __f.__f_ = nullptr; } + return *this; } template<class _Rp, class ..._ArgTypes> |