fixed compile errors on windows

This commit is contained in:
David White 2005-10-02 18:43:52 +00:00
parent fecbcfcc56
commit 23f0ecf5a6

View file

@ -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;
}