From: Guilherme Maciel Ferreira Date: Wed, 13 Apr 2011 08:52:37 +0000 (+0200) Subject: Replaced post-fixed by pre-fixed increment X-Git-Tag: v1.0~79 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=3110ed3044ac77ca1b0d570e968d949337cf88af;p=pingcheck Replaced post-fixed by pre-fixed increment --- diff --git a/src/config/configurationreader.cpp b/src/config/configurationreader.cpp index c9f4a06..df32be9 100644 --- a/src/config/configurationreader.cpp +++ b/src/config/configurationreader.cpp @@ -229,7 +229,7 @@ bool ConfigurationReader::parse_configuration_options( const variables_map &vm ) { HostItem host_item = *hosts_it; host_item->set_interval_in_sec( host_interval_in_sec ); - hosts_it++; + ++hosts_it; cout << HostIntervalCmdStr << "=" << host_interval_in_sec << endl; }