We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65a96ea commit 327c177Copy full SHA for 327c177
nautilus-api/include/Interface/DataTypes/TypedRef.hpp
@@ -47,7 +47,7 @@ class TypedRef final : public BaseTypedRef {
47
TypedRef<T>& operator=(const TypedRef<T>& other) { return *this = TypedRef<T>(other); };
48
49
// move assignment
50
- TypedRef<T>& operator=(const TypedRef<T>&& other) {
+ TypedRef<T>& operator=(TypedRef<T>&& other) {
51
std::swap(value, other.value);
52
return *this;
53
};
0 commit comments