| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 41cc3ef commit 07d0fd6
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -577,12 +577,6 @@ struct OnScopeLeaveImpl { | |||
| 577 | 577 | : fn_(std::move(other.fn_)), active_(other.active_) { | |
| 578 | 578 | other.active_ = false; | |
| 579 | 579 | } | |
| 580 | - OnScopeLeaveImpl& operator=(OnScopeLeaveImpl&& other) { | ||
| 581 | - if (this == &other) return *this; | ||
| 582 | - this->~OnScopeLeave(); | ||
| 583 | - new (this)OnScopeLeaveImpl(std::move(other)); | ||
| 584 | - return *this; | ||
| 585 | - } | ||
| 586 | 580 | }; | |
| 587 | 581 | ||
| 588 | 582 | // Run a function when exiting the current scope. Used like this: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments