Constness
git-svn-id: file:///home/vcs/svn/jsweeper/trunk@44 6611ac79-6612-48ef-a1e9-b906f853523e
This commit is contained in:
@@ -46,9 +46,9 @@ void Config::Read()
|
||||
pm.AliasClear();
|
||||
|
||||
group = ini.GetGroup("aliases");
|
||||
IniItemList::iterator it;
|
||||
IniItemList::const_iterator it;
|
||||
for (it = group->items.begin(); it != group->items.end(); ++it) {
|
||||
IniItem *item = *it;
|
||||
const IniItem *item = *it;
|
||||
pm.AliasAdd(item->name, item->value);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user