From: Christian Herdtweck Date: Tue, 9 Dec 2014 08:20:46 +0000 (+0100) Subject: added missing std::, commit before last does not compile without it ... sorry! X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=aaff53daf9171f360a7d1fe56021e1e2bb9303c5;p=pingcheck added missing std::, commit before last does not compile without it ... sorry! --- diff --git a/src/main.cpp b/src/main.cpp index 33772e5..836520c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -382,7 +382,7 @@ int main( int argc, const char *argv[] ) handle_signals( log_level ); } } - catch ( const exception &ex ) + catch ( const std::exception &ex ) { GlobalLogger.error() << "Error: uncaught exception. " << ex.what() << endl; ret_code = 1; @@ -399,7 +399,7 @@ int main( int argc, const char *argv[] ) stop_pingers( scheduler_list ); GlobalLogger.notice() << "exiting"; } - catch ( const exception &ex ) + catch ( const std::exception &ex ) { GlobalLogger.error() << "Error: uncaught exception while cleaning up " << ex.what() << endl; ret_code += 4;