From f57e72ab4a65fcb95f0d1b3ea1c4685fb852cf4e Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sat, 27 May 2017 06:17:23 +0100 Subject: [PATCH] Small code tweak --- src/client_manager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client_manager.cc b/src/client_manager.cc index 9ca0af5e7..bd04b82af 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, 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)