| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e455dd4 commit 358273d
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -568,12 +568,6 @@ struct OnScopeLeaveImpl { | |||
| 568 | 568 | : fn_(std::move(other.fn_)), active_(other.active_) { | |
| 569 | 569 | other.active_ = false; | |
| 570 | 570 | } | |
| 571 | - OnScopeLeaveImpl& operator=(OnScopeLeaveImpl&& other) { | ||
| 572 | - if (this == &other) return *this; | ||
| 573 | - this->~OnScopeLeave(); | ||
| 574 | - new (this)OnScopeLeaveImpl(std::move(other)); | ||
| 575 | - return *this; | ||
| 576 | - } | ||
| 577 | 571 | }; | |
| 578 | 572 | ||
| 579 | 573 | // Run a function when exiting the current scope. Used like this: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments