From b7d00583f1757799be4a70b8ead9a37736d18ac6 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Fri, 25 Mar 2011 15:12:25 +0100 Subject: [PATCH 1/1] Now that THROWF is in SG/svn, remove compatibility hack. --- TODO | 2 -- main.cpp | 6 ------ 2 files changed, 8 deletions(-) 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"); -- 2.39.5