Skip to content

Commit

Permalink
fix c++03 compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf committed Jun 21, 2015
1 parent 630cce5 commit 53e8f54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/dialogs/campaign_selection.cpp
Expand Up @@ -205,7 +205,7 @@ void tcampaign_selection::pre_show(CVideo& video, twindow& window)
tree_group_field["label"] = mod->name;
tree_group_item["name"] = tree_group_field;

auto & node = mods_node.add_child("modification", tree_group_item);
ttree_view_node & node = mods_node.add_child("modification", tree_group_item);
ttoggle_button* checkbox = dynamic_cast<ttoggle_button*>(node.find("checkb", true));
VALIDATE(checkbox, missing_widget("checkb"));
checkbox->set_value(active);
Expand Down

0 comments on commit 53e8f54

Please sign in to comment.