mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-18 01:01:57 -04:00
Fix expected
This commit is contained in:
parent
88aa6ec9e9
commit
4ce4318bdb
@ -260,7 +260,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
expected& operator=(expected&& rhs){
|
expected& operator=(expected&& rhs){
|
||||||
this_type(std::forward(rhs)).swap(*this);
|
this_type(std::move(rhs)).swap(*this);
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -270,7 +270,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
expected& operator=(value_type&& v){
|
expected& operator=(value_type&& v){
|
||||||
this_type(std::forward(v)).swap(*this);
|
this_type(std::move(v)).swap(*this);
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user