added missing std::, commit before last does not compile without it ... sorry!
authorChristian Herdtweck <christian.herdtweck@intra2net.com>
Tue, 9 Dec 2014 08:20:46 +0000 (09:20 +0100)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Tue, 9 Dec 2014 08:20:46 +0000 (09:20 +0100)
src/main.cpp

index 33772e5..836520c 100644 (file)
@@ -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;