Skip to content

Commit

Permalink
Fix warning in IPC proxy classes
Browse files Browse the repository at this point in the history
  • Loading branch information
XinyuHou committed Dec 7, 2016
1 parent 74d63df commit c31f908
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/ipc/IpcClientProxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/ipc/IpcServerProxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c31f908

Please sign in to comment.