diff options
Diffstat (limited to 'source/frontend/StarClientCommandProcessor.cpp')
-rw-r--r-- | source/frontend/StarClientCommandProcessor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/frontend/StarClientCommandProcessor.cpp b/source/frontend/StarClientCommandProcessor.cpp index d0afb0c..599d506 100644 --- a/source/frontend/StarClientCommandProcessor.cpp +++ b/source/frontend/StarClientCommandProcessor.cpp @@ -78,7 +78,7 @@ String ClientCommandProcessor::previewQuestPane(StringList const& arguments, fun StringList ClientCommandProcessor::handleCommand(String const& commandLine, bool userInput) { Maybe<Input::ClipboardUnlock> unlock; if (userInput) // allow clipboard usage during this code - unlock = Input::singleton().unlockClipboard(); + unlock = std::move(Input::singleton().unlockClipboard()); try { if (!commandLine.beginsWith("/")) throw StarException("ClientCommandProcessor expected command, does not start with '/'"); |