Skip to content

Commit

Permalink
gate: add default move assignment operator
Browse files Browse the repository at this point in the history
d240dac seems to have caused the
default move assignment operator to be deleted.

Signed-off-by: Noah Watkins <[email protected]>
Message-Id: <[email protected]>
  • Loading branch information
dotnwat authored and psarna committed May 25, 2021
1 parent f0f28d0 commit 4eee0eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/seastar/core/gate.hh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public:
gate() = default;
gate(const gate&) = delete;
gate(gate&&) = default;
gate& operator=(gate&&) = default;
~gate() {
assert(!_count && "gate destroyed with outstanding requests");
}
Expand Down

0 comments on commit 4eee0eb

Please sign in to comment.