From aaff53daf9171f360a7d1fe56021e1e2bb9303c5 Mon Sep 17 00:00:00 2001 From: Christian Herdtweck Date: Tue, 9 Dec 2014 09:20:46 +0100 Subject: [PATCH] added missing std::, commit before last does not compile without it ... sorry! --- src/main.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) 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; -- 1.7.1