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