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-14 16:34:14 +0300
committerMikkel Krautz <mikkel@krautz.dk>2016-05-08 17:45:52 +0300
commit89b487cd1759710350a78e03a299ddb2aea046d2 (patch)
tree573c35ebe58d6afbfc22432057474afc38f76653 /src/murmur/MurmurGRPCImpl.h
parente953933f854d70b61d30ec1064d5b70bb4db88ec (diff)
grpc: reduce compile warnings
Diffstat (limited to 'src/murmur/MurmurGRPCImpl.h')
-rw-r--r--src/murmur/MurmurGRPCImpl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/murmur/MurmurGRPCImpl.h b/src/murmur/MurmurGRPCImpl.h
index e1ca91b40..884b835f8 100644
--- a/src/murmur/MurmurGRPCImpl.h
+++ b/src/murmur/MurmurGRPCImpl.h
@@ -48,6 +48,8 @@
class RPCCall {
public:
+ virtual ~RPCCall() {
+ }
virtual ::boost::function<void(bool)> *done() = 0;
virtual void error(const ::grpc::Status&) = 0;
};
@@ -56,7 +58,7 @@ class RPCExecEvent : public ExecEvent {
Q_DISABLE_COPY(RPCExecEvent);
public:
RPCCall *call;
- RPCExecEvent(::boost::function<void()> fn, RPCCall *call) : ExecEvent(fn), call(call) {
+ RPCExecEvent(::boost::function<void()> fn, RPCCall *rpc_call) : ExecEvent(fn), call(rpc_call) {
}
};