diff options
Diffstat (limited to 'src/include/util/impl')
-rw-r--r-- | src/include/util/impl/shared_ptr.H | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/util/impl/shared_ptr.H b/src/include/util/impl/shared_ptr.H index 4530b5acf..a6cca17e5 100644 --- a/src/include/util/impl/shared_ptr.H +++ b/src/include/util/impl/shared_ptr.H @@ -93,14 +93,14 @@ namespace std return *this; } - shared_ptr& operator=(const shared_ptr&& r) + shared_ptr& operator=(shared_ptr&& r) { _cleanup(); _swap(std::move(r)); return *this; } - template<typename U> shared_ptr& operator=(const shared_ptr<U>&& r) + template<typename U> shared_ptr& operator=(shared_ptr<U>&& r) { _cleanup(); _swap(std::move(r)); |