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

Reverts grpc/grpc#34072

This code is not used in anything related to production at this point
and so could not have caused any breakage.
pull/34078/head
Craig Tiller 1 year ago committed by GitHub
parent 48aa2ff1e5
commit 4d24b93cbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/core/lib/promise/wait_set.h

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

Loading…
Cancel
Save