From d79d0c83452212355d212e8fcd4ad5c27c1906fc Mon Sep 17 00:00:00 2001 From: Marcus Fritzsch Date: Wed, 9 Aug 2017 16:16:06 +0200 Subject: Remove the DB() makro, replace with logdebug() where sensible Signed-off-by: Marcus Fritzsch --- src/util.hpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/util.hpp') diff --git a/src/util.hpp b/src/util.hpp index 0703809..ab9019b 100644 --- a/src/util.hpp +++ b/src/util.hpp @@ -49,17 +49,6 @@ extern "C" { #define logdebug(...) #endif -#ifndef NDEBUG -#define DB(expr) \ - do { \ - std::ostringstream o; \ - o << __FILE__ << ":" << __LINE__ << ":" << __func__ << ": " << expr; \ - logdebug("%s", o.str().c_str()); \ - } while (0) -#else -#define DB(expr) -#endif - // _ _ _ __ _ // ___| |_ _ __ _ _ ___| |_ _ _ _ __ (_) __ _ _ _ ___ / _| __| | // / __| __| '__| | | |/ __| __| | | | | '_ \| |/ _` | | | |/ _ \ | |_ / _` | -- cgit 1.2.3-korg