Revert "[absl] Swisstables dont allow calling begin/extract after move" (#34072)

Reverts grpc/grpc#34066. Breaks an internal test.
pull/34074/head
AJ Heller 1 year ago committed by GitHub
parent 462a2cae35
commit 78087c519e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/core/lib/promise/wait_set.h

@ -64,9 +64,7 @@ class WaitSet final {
};
GRPC_MUST_USE_RESULT WakeupSet TakeWakeupSet() {
auto ret = WakeupSet(std::move(pending_));
pending_.clear(); // reinitialize after move.
return ret;
return WakeupSet(std::move(pending_));
}
private:

Loading…
Cancel
Save