Cleanup: formatting and diagnostics

This commit is contained in:
Paul Beckingham 2016-03-19 17:09:04 -04:00
parent 95d0bd6256
commit 21f2b138b0
4 changed files with 7 additions and 5 deletions

View file

@ -32,7 +32,6 @@
void Datafile::initialize (const std::string& name)
{
_name = name;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -44,7 +44,8 @@ void Rules::load (const std::string& file, int nest /* = 1 */)
// First time in, load the default values.
if (nest == 1)
{
// This is where defaults would be set.
// TODO This is where defaults would be set.
_original_file = File (file)._data;
}
@ -154,7 +155,7 @@ std::string Rules::dump () const
out << " Settings\n";
for (const auto& item : _settings)
out << " " << item.first << " " << item.second << "\n";
out << " " << item.first << "=" << item.second << "\n";
return out.str ();
}