Skip to content

Commit

Permalink
Fixup 42cb55f (take string by reference)
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Vultraz committed Apr 22, 2017
1 parent 42cb55f commit 5aa7ba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotkey/command_executor.cpp
Expand Up @@ -386,7 +386,7 @@ void command_executor::show_menu(const std::vector<config>& items_arg, int xloc,
const std::vector<std::string>& sub_menu_items = submenu->items();

std::transform(sub_menu_items.begin(), sub_menu_items.end(), std::back_inserter(sub_items),
[](const std::string s) { return config_of("id", s); }
[](const std::string& s) { return config_of("id", s); }
);

this->show_menu(sub_items, x, y, submenu->is_context(), gui);
Expand Down

0 comments on commit 5aa7ba0

Please sign in to comment.