From 444bf41fa4071e2526206fbf9fa69f6a1e68f050 Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Mon, 5 Aug 2013 17:29:34 +0200 Subject: [PATCH] use exceptions instead of hard abort --- typedefs.h | 1 - 1 file changed, 1 deletion(-) diff --git a/typedefs.h b/typedefs.h index 180e47ca0..bf0c731d0 100644 --- a/typedefs.h +++ b/typedefs.h @@ -35,7 +35,6 @@ or see http://www.gnu.org/licenses/agpl.txt. #include #define INFO(x) do {std::cout << "[i " << __FILE__ << ":" << __LINE__ << "] " << x << std::endl;} while(0); -#define ERR(x) do {std::cerr << "[! " << __FILE__ << ":" << __LINE__ << "] " << x << std::endl; std::exit(-1);} while(0); #define WARN(x) do {std::cerr << "[? " << __FILE__ << ":" << __LINE__ << "] " << x << std::endl;} while(0); #ifdef NDEBUG