fixed compile errors on windows
This commit is contained in:
parent
fecbcfcc56
commit
23f0ecf5a6
1 changed files with 4 additions and 4 deletions
|
@ -204,12 +204,12 @@ namespace {
|
|||
}
|
||||
// add all the resolutions
|
||||
const config::child_list& res_list = top_cfg.get_children("resolution");
|
||||
for(config::child_list::const_iterator i = res_list.begin(); i != res_list.end(); ++i) {
|
||||
dst_cfg.add_child("resolution", (**i));
|
||||
for(config::child_list::const_iterator j = res_list.begin(); j != res_list.end(); ++j) {
|
||||
dst_cfg.add_child("resolution", (**j));
|
||||
}
|
||||
// add all the resolved resolutions
|
||||
for(std::vector<config>::const_iterator i = res_cfgs_.begin(); i != res_cfgs_.end(); ++i) {
|
||||
dst_cfg.add_child("resolution", (*i));
|
||||
for(std::vector<config>::const_iterator k = res_cfgs_.begin(); k != res_cfgs_.end(); ++k) {
|
||||
dst_cfg.add_child("resolution", (*k));
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue