Fix warning in IPC proxy classes
This commit is contained in:
parent
74d63df244
commit
c31f908fb2
|
@ -146,7 +146,7 @@ IpcClientProxy::send(const IpcMessage& message)
|
||||||
switch (message.type()) {
|
switch (message.type()) {
|
||||||
case kIpcLogLine: {
|
case kIpcLogLine: {
|
||||||
const IpcLogLineMessage& llm = static_cast<const IpcLogLineMessage&>(message);
|
const IpcLogLineMessage& llm = static_cast<const IpcLogLineMessage&>(message);
|
||||||
String logLine = llm.logLine();
|
const String logLine = llm.logLine();
|
||||||
ProtocolUtil::writef(&m_stream, kIpcMsgLogLine, &logLine);
|
ProtocolUtil::writef(&m_stream, kIpcMsgLogLine, &logLine);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -94,7 +94,7 @@ IpcServerProxy::send(const IpcMessage& message)
|
||||||
|
|
||||||
case kIpcCommand: {
|
case kIpcCommand: {
|
||||||
const IpcCommandMessage& cm = static_cast<const IpcCommandMessage&>(message);
|
const IpcCommandMessage& cm = static_cast<const IpcCommandMessage&>(message);
|
||||||
String command = cm.command();
|
const String command = cm.command();
|
||||||
ProtocolUtil::writef(&m_stream, kIpcMsgCommand, &command);
|
ProtocolUtil::writef(&m_stream, kIpcMsgCommand, &command);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue