src/msg.h
@@ -73,7 +73,7 @@ // AddRef and Release works for both counted and not counted msg. int AddRef() const { return IsCounted() ? count_->Inc() : 1; } int Release(SharedMemory &shm) const; int Release(SharedMemory &shm); int Count() const{ return IsCounted() ? count_->Get() : 1; } bool IsCounted() const { return static_cast<bool>(count_); }