summaryrefslogtreecommitdiff
path: root/src/client_manager.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-05-27 06:17:23 +0100
committerMaxime Coste <mawww@kakoune.org>2017-05-27 06:17:44 +0100
commitf57e72ab4a65fcb95f0d1b3ea1c4685fb852cf4e (patch)
treecc91920f4e38a4bc5548cb33ccdc350f93a68a9d /src/client_manager.cc
parent0b592c5641b3071551b2144b413ed5c6726a1389 (diff)
Small code tweak
Diffstat (limited to 'src/client_manager.cc')
-rw-r--r--src/client_manager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client_manager.cc b/src/client_manager.cc
index 9ca0af5e..bd04b82a 100644
--- a/src/client_manager.cc
+++ b/src/client_manager.cc
@@ -122,7 +122,7 @@ WindowAndSelections ClientManager::get_free_window(Buffer& buffer)
void ClientManager::add_free_window(std::unique_ptr<Window>&& window, SelectionList selections)
{
window->clear_display_buffer();
- m_free_windows.push_back({ std::move(window), SelectionList{ std::move(selections) } });
+ m_free_windows.push_back({std::move(window), std::move(selections)});
}
void ClientManager::ensure_no_client_uses_buffer(Buffer& buffer)