Remove the DB() makro, replace with logdebug() where sensible
[staging/windowmanager.git] / src / util.hpp
index 0703809..ab9019b 100644 (file)
@@ -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
-
 //      _                   _                 _                       __     _
 //  ___| |_ _ __ _   _  ___| |_   _   _ _ __ (_) __ _ _   _  ___     / _| __| |
 // / __| __| '__| | | |/ __| __| | | | | '_ \| |/ _` | | | |/ _ \   | |_ / _` |