diff options
author | Eric Fiselier <eric@efcs.ca> | 2015-06-02 01:31:33 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2015-06-02 01:31:33 +0000 |
commit | 03d5dd28251badc63a841a48a317a36f8d566b98 (patch) | |
tree | 091b0390dd519cf8b3f925ed9af6b341ea27dca8 | |
parent | a84544ac7abc72c4fd084668c71d404a345fc28e (diff) | |
download | bcm5719-llvm-03d5dd28251badc63a841a48a317a36f8d566b98.tar.gz bcm5719-llvm-03d5dd28251badc63a841a48a317a36f8d566b98.zip |
Add missing return statements in C++03 std::function
llvm-svn: 238803
-rw-r--r-- | libcxx/include/__functional_03 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/include/__functional_03 b/libcxx/include/__functional_03 index 785a2758c05..f048ea32437 100644 --- a/libcxx/include/__functional_03 +++ b/libcxx/include/__functional_03 @@ -825,6 +825,7 @@ function<_Rp()>::operator=(nullptr_t) else if (__f_) __f_->destroy_deallocate(); __f_ = 0; + return *this; } template<class _Rp> @@ -1121,6 +1122,7 @@ function<_Rp(_A0)>::operator=(nullptr_t) else if (__f_) __f_->destroy_deallocate(); __f_ = 0; + return *this; } template<class _Rp, class _A0> @@ -1417,6 +1419,7 @@ function<_Rp(_A0, _A1)>::operator=(nullptr_t) else if (__f_) __f_->destroy_deallocate(); __f_ = 0; + return *this; } template<class _Rp, class _A0, class _A1> @@ -1713,6 +1716,7 @@ function<_Rp(_A0, _A1, _A2)>::operator=(nullptr_t) else if (__f_) __f_->destroy_deallocate(); __f_ = 0; + return *this; } template<class _Rp, class _A0, class _A1, class _A2> |