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:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-10-13 06:03:45 +0400
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-10-13 06:03:45 +0400
commit88db3171dd5dcc54e3890b6f823c60831fc520a5 (patch)
tree152ba3680b06c51899bab0a2ad95ea083ef0b976 /libcxx/include/future
parentce17b0f5b805630bb71f99bfdf820e2c57a34f7e (diff)
Don't neglect to "return *this".
llvm-svn: 165860
Diffstat (limited to 'libcxx/include/future')
-rw-r--r--libcxx/include/future1
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>