summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-01-09 22:23:12 -0700
committerIra Rice <irarice@gmail.com>2009-01-09 22:23:12 -0700
commitb19fb7a2d562931c08472794fea90a0e4c320760 (patch)
tree34645e1baac1785a81860a3edadf35129dc3f131
parentf3e77c4f86e9a312f74f22d575cf1f4759701337 (diff)
downloadmana-b19fb7a2d562931c08472794fea90a0e4c320760.tar.gz
mana-b19fb7a2d562931c08472794fea90a0e4c320760.tar.bz2
mana-b19fb7a2d562931c08472794fea90a0e4c320760.tar.xz
mana-b19fb7a2d562931c08472794fea90a0e4c320760.zip
Code style cleanup
Signed-off-by: Ira Rice <irarice@gmail.com>
-rw-r--r--src/configuration.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/configuration.cpp b/src/configuration.cpp
index 8e80de18..a2ce4500 100644
--- a/src/configuration.cpp
+++ b/src/configuration.cpp
@@ -70,8 +70,7 @@ float ConfigurationObject::getValue(const std::string &key, float deflt)
return (iter != mOptions.end()) ? atof(iter->second.c_str()) : deflt;
}
-void
-ConfigurationObject::deleteList(const std::string &name)
+void ConfigurationObject::deleteList(const std::string &name)
{
for (ConfigurationList::const_iterator
it = mContainerOptions[name].begin(); it != mContainerOptions[name].end(); it++)
@@ -80,8 +79,7 @@ ConfigurationObject::deleteList(const std::string &name)
mContainerOptions[name].clear();
}
-void
-ConfigurationObject::clear(void)
+void ConfigurationObject::clear(void)
{
for (std::map<std::string, ConfigurationList>::const_iterator
it = mContainerOptions.begin(); it != mContainerOptions.end(); it++)
@@ -95,8 +93,7 @@ ConfigurationObject::~ConfigurationObject(void)
clear();
}
-void
-ConfigurationObject::initFromXML(xmlNodePtr parent_node)
+void ConfigurationObject::initFromXML(xmlNodePtr parent_node)
{
clear();
@@ -161,8 +158,7 @@ void Configuration::init(const std::string &filename)
xmlFreeDoc(doc);
}
-void
-ConfigurationObject::writeToXML(xmlTextWriterPtr writer)
+void ConfigurationObject::writeToXML(xmlTextWriterPtr writer)
{
for (OptionIterator i = mOptions.begin(); i != mOptions.end(); i++)
{