Skip to content

Commit

Permalink
MP Options Helper: iterate over options data by reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Dec 18, 2016
1 parent fc91f5d commit edfe69f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/dialogs/multiplayer/mp_options_helper.cpp
Expand Up @@ -216,7 +216,7 @@ void mp_options_helper::display_custom_options(const std::string& type, int node
tree_view_node& option_node = options_tree_.add_node("option_node", data, node_position);
type_node_vector.push_back(&option_node);

for(const config::any_child opt : options.all_children_range()) {
for(const config::any_child& opt : options.all_children_range()) {
data.clear();
item.clear();

Expand Down

0 comments on commit edfe69f

Please sign in to comment.