Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Cooper <tim.cooper@layeh.com>2015-07-15 17:25:12 +0300
committerMikkel Krautz <mikkel@krautz.dk>2016-05-08 17:45:52 +0300
commit56e0507fa2d1e1a0b4840c528adc4b1178e009e0 (patch)
treead9bb7836678ebaa7dd5cd39b562cb0878f80674 /src/murmur/MurmurGRPCImpl.h
parent580588333ca7c2f53a7a54a1d9ac0173559057f0 (diff)
grpc: fix stream referencing counting issues
Diffstat (limited to 'src/murmur/MurmurGRPCImpl.h')
-rw-r--r--src/murmur/MurmurGRPCImpl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/murmur/MurmurGRPCImpl.h b/src/murmur/MurmurGRPCImpl.h
index de53372ba..1ba438679 100644
--- a/src/murmur/MurmurGRPCImpl.h
+++ b/src/murmur/MurmurGRPCImpl.h
@@ -56,12 +56,12 @@ public:
}
virtual ::boost::function<void(bool)> *done() = 0;
virtual void error(const ::grpc::Status&) = 0;
- void deref() {
+ virtual void deref() {
if (--mRefs <= 0) {
delete this;
}
}
- void ref() {
+ virtual void ref() {
mRefs++;
}