mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Fixing typo in move constructor implementation that resulted in compile error during tests.
This commit is contained in:
parent
422e7164d5
commit
1d11cd1ed1
@ -52,7 +52,7 @@ class Final_act
|
|||||||
public:
|
public:
|
||||||
explicit Final_act(F f) : f_(std::move(f)), invoke_(true) {}
|
explicit Final_act(F f) : f_(std::move(f)), invoke_(true) {}
|
||||||
|
|
||||||
Final_act(Final_act&& other) : f_(std::move(other.f_)), invoke_(true) { other._invoke = false; }
|
Final_act(Final_act&& other) : f_(std::move(other.f_)), invoke_(true) { other.invoke_ = false; }
|
||||||
Final_act(const Final_act&) = delete;
|
Final_act(const Final_act&) = delete;
|
||||||
Final_act& operator=(const Final_act&) = delete;
|
Final_act& operator=(const Final_act&) = delete;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user