diff options
author | Mikkel Krautz <mikkel@krautz.dk> | 2016-02-20 17:23:01 +0300 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2016-05-08 17:45:52 +0300 |
commit | 32b8abd894486bbc47fb2c2786a0b1c2f9262baf (patch) | |
tree | a7190aae7ef73d4fc8134f2e7501ab24bb83cf2d /src/murmur/MurmurGRPCImpl.cpp | |
parent | 31928ca51f4f9de2aa68bb5a2fadcd18d6d28a6e (diff) |
grpc: rename mCQ to m_completionQueue as per our coding style.
Diffstat (limited to 'src/murmur/MurmurGRPCImpl.cpp')
-rw-r--r-- | src/murmur/MurmurGRPCImpl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/murmur/MurmurGRPCImpl.cpp b/src/murmur/MurmurGRPCImpl.cpp index b878c4bb4..c8d738caf 100644 --- a/src/murmur/MurmurGRPCImpl.cpp +++ b/src/murmur/MurmurGRPCImpl.cpp @@ -133,7 +133,7 @@ MurmurRPCImpl::MurmurRPCImpl(const QString &address, std::shared_ptr<::grpc::Ser ::grpc::ServerBuilder builder; builder.AddListeningPort(u8(address), credentials); builder.RegisterService(&aV1Service); - mCQ = builder.AddCompletionQueue(); + m_completionQueue = builder.AddCompletionQueue(); mServer = builder.BuildAndStart(); meta->connectListener(this); connect(&qtCleanup, SIGNAL(timeout()), this, SLOT(cleanup())); @@ -1239,7 +1239,7 @@ void MurmurRPCImpl::run() { while (true) { void *tag; bool ok; - if (!mCQ->Next(&tag, &ok)) { + if (!m_completionQueue->Next(&tag, &ok)) { break; } if (tag != nullptr) { |