explicitely convert to std::string; escapes a compiler error
This commit is contained in:
parent
60698b5ea8
commit
96fda9a069
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ void tmp_create_game_choose_mods::pre_show(CVideo &/*video*/, twindow &window)
|
|||
find_widget<ttoggle_button>(grid, "checkbox", false);
|
||||
|
||||
checkbox.set_value(std::find( result_.begin(), result_.end(),
|
||||
mod["id"]) != result_.end());
|
||||
mod["id"].str()) != result_.end());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue