summaryrefslogtreecommitdiff
path: root/src/configuration.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/configuration.h')
-rw-r--r--src/configuration.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/configuration.h b/src/configuration.h
index 5d1554064..d9e3af19a 100644
--- a/src/configuration.h
+++ b/src/configuration.h
@@ -149,11 +149,11 @@ class ConfigurationObject
for (IT it = begin; it != end; it++)
{
- ConfigurationObject *wrobj
+ ConfigurationObject *const wrobj
= manager->writeConfigItem(*it, nextobj);
if (wrobj)
{ // wrote something
- assert (wrobj == nextobj);
+// assert (wrobj == nextobj);
nextobj = new ConfigurationObject;
list->push_back(wrobj);
}
@@ -181,7 +181,7 @@ class ConfigurationObject
CONT getList(const std::string &name, CONT empty,
ConfigurationListManager<T, CONT> *manager)
{
- ConfigurationList *list = &(mContainerOptions[name]);
+ ConfigurationList *const list = &(mContainerOptions[name]);
CONT container = empty;
if (!manager)