Skip to content

Commit c5a128e

Browse files
committed
Call move constructor on msg
1 parent da1e540 commit c5a128e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LanguageServer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ void LanguageServer::processInputLoop()
575575
client->sendTrace("Processed cancellation for " + msg.params->dump());
576576
continue;
577577
}
578-
messages.push(msg);
578+
messages.push(std::move(msg));
579579
}
580580

581581
messagesCv.notify_one();

0 commit comments

Comments
 (0)