GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — src: remove OnScopeLeaveImpl's move assignment overload · nodejs/node@358273d

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • util.h
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/util.h‎

Copy file name to clipboardExpand all lines: src/util.h
-6Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -568,12 +568,6 @@ struct OnScopeLeaveImpl {
568568
: fn_(std::move(other.fn_)), active_(other.active_) {
569569
other.active_ = false;
570570
}
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-
}
577571
};
578572

579573
// Run a function when exiting the current scope. Used like this:

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.