From: Arnaud Giersch Date: Fri, 25 Mar 2011 14:12:25 +0000 (+0100) Subject: Now that THROWF is in SG/svn, remove compatibility hack. X-Git-Tag: v0.1~72 X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/commitdiff_plain/b7d00583f1757799be4a70b8ead9a37736d18ac6?ds=inline;hp=--cc Now that THROWF is in SG/svn, remove compatibility hack. --- b7d00583f1757799be4a70b8ead9a37736d18ac6 diff --git a/TODO b/TODO index bee25a1..d59eb3c 100644 --- a/TODO +++ b/TODO @@ -1,5 +1,3 @@ -* When ready, remove hack for THROWF in main.cpp. - * Support heterogeneous platforms? Not sure yet. Should be doable if each process also sends its speed to its neighbors. diff --git a/main.cpp b/main.cpp index c2b1d18..9a6b5b2 100644 --- a/main.cpp +++ b/main.cpp @@ -6,12 +6,6 @@ #include #include -// Don't look at this dirty hack... -// Delete it when THROWF comes in SG/svn. -#ifndef THROWF -#define THROWF(...) THROW1(__VA_ARGS__) -#endif - // Creates log categories XBT_LOG_NEW_CATEGORY(simu, "Root of simulation messages"); XBT_LOG_NEW_SUBCATEGORY(main, simu, "Messages from global infrastructure");