MCPcopy Create free account
hub / github.com/apache/brpc / SetSubscriptionToRemove

Method SetSubscriptionToRemove

test/callback_list_unittest.cc:38–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 removal_subscription_.reset();
37 }
38 void SetSubscriptionToRemove(
39 scoped_ptr<CallbackList<void(void)>::Subscription> sub) {
40 removal_subscription_ = sub.Pass();
41 }
42
43 int total() const { return total_; }
44

Callers 1

TESTFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected