mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-09 13:15:33 +08:00
Fix warning in IPC proxy classes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user