]> AND Private Git Repository - loba.git/blobdiff - main.cpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Now that THROWF is in SG/svn, remove compatibility hack.
[loba.git] / main.cpp
index 76125e9db0b639a3d7e027b6b5ceb7c99d637c04..9a6b5b27b9139b8ca51cc9596f51d080f68d77d3 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -98,10 +98,10 @@ static int simulation_main(int argc, char* argv[])
         delete proc;
     }
     catch (const std::invalid_argument& e) {
-        THROW1(arg_error, 0, "%s", e.what());
+        THROWF(arg_error, 0, "%s", e.what());
     }
     catch (const std::exception& e) {
-        THROW1(0, 0, "%s", e.what());
+        THROWF(0, 0, "%s", e.what());
     }
     return result;
 }
@@ -255,7 +255,7 @@ int main(int argc, char* argv[])
         delete proc_mutex;
 
         if (res != MSG_OK)
-            THROW1(0, 0, "MSG_main() failed with status %#x", res);
+            THROWF(0, 0, "MSG_main() failed with status %#x", res);
 
         exit_status = EXIT_NO_FAILURE; // =====
     }