From caa3daeb5e7cb49d8e28d74a37750551fef2e8c7 Mon Sep 17 00:00:00 2001 From: petern Date: Wed, 31 Mar 2010 11:26:50 +0000 Subject: [PATCH] Constness git-svn-id: file:///home/vcs/svn/jsweeper/trunk@44 6611ac79-6612-48ef-a1e9-b906f853523e --- src/config.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.cpp b/src/config.cpp index 54499ea..bb75e77 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -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); } }