Fix Node compile error on operator overload

pull/19358/head
Yunjia Wang 6 years ago
parent 54c05c4895
commit 2fbd77aee4
  1. 1
      src/core/lib/iomgr/executor/mpmcqueue.h
  2. 2
      test/core/iomgr/mpmcqueue_test.cc

@ -92,6 +92,7 @@ class MPMCQueue : public MPMCQueueInterface {
next = nullptr;
insert_time = gpr_now(GPR_CLOCK_PRECISE);
}
GRPC_ABSTRACT_BASE_CLASS
};
struct Stats { // Stats of queue

@ -141,8 +141,6 @@ class WorkThread {
void Start() { thd_.Start(); }
void Join() { thd_.Join(); }
GRPC_ABSTRACT_BASE_CLASS
private:
void Run() {
items_ = new WorkItem*[num_items_];

Loading…
Cancel
Save