This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fix warning in IPC proxy classes

  • Loading branch information...
XinyuHou
XinyuHou committed Dec 7, 2016
1 parent 74d63df commit c31f908fb283dadc1a34856796e2d7a9df7bbb77
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/lib/ipc/IpcClientProxy.cpp
  2. +1 −1 src/lib/ipc/IpcServerProxy.cpp
@@ -146,7 +146,7 @@ IpcClientProxy::send(const IpcMessage& message)
switch (message.type()) {
case kIpcLogLine: {
const IpcLogLineMessage& llm = static_cast<const IpcLogLineMessage&>(message);
- String logLine = llm.logLine();
+ const String logLine = llm.logLine();
ProtocolUtil::writef(&m_stream, kIpcMsgLogLine, &logLine);
break;
}
@@ -94,7 +94,7 @@ IpcServerProxy::send(const IpcMessage& message)
case kIpcCommand: {
const IpcCommandMessage& cm = static_cast<const IpcCommandMessage&>(message);
- String command = cm.command();
+ const String command = cm.command();
ProtocolUtil::writef(&m_stream, kIpcMsgCommand, &command);
break;
}

0 comments on commit c31f908

Please sign in to comment.