MP Options Helper: iterate over options data by reference
This commit is contained in:
parent
fc91f5df10
commit
edfe69f336
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue