Simplified example a little

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404086
This commit is contained in:
Davis King 2011-01-01 23:13:15 +00:00
parent be4fe105aa
commit b233e3eece
1 changed files with 1 additions and 4 deletions

View File

@ -79,10 +79,7 @@ int main()
{
try
{
ifstream fin("config.txt");
cr_type cr;
cr.load_from(fin);
cr_type cr("config.txt");
// Use our recursive function to print everything in the config file.
print_config_reader_contents(cr);