summaryrefslogtreecommitdiffstats
path: root/src/util.hpp
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-09 16:16:06 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-11 10:13:48 +0200
commitd79d0c83452212355d212e8fcd4ad5c27c1906fc (patch)
tree7d48d577b1f20ba76aa9deec150e3823451370c8 /src/util.hpp
parentef1b8f5fa4c2e939e9b6f08069ee08d362ee0ee5 (diff)
Remove the DB() makro, replace with logdebug() where sensible
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/util.hpp')
-rw-r--r--src/util.hpp11
1 files changed, 0 insertions, 11 deletions
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
-
// _ _ _ __ _
// ___| |_ _ __ _ _ ___| |_ _ _ _ __ (_) __ _ _ _ ___ / _| __| |
// / __| __| '__| | | |/ __| __| | | | | '_ \| |/ _` | | | |/ _ \ | |_ / _` |