util: move DB() debug macro from app
[staging/windowmanager.git] / src / app.cpp
index 606c167..9bd12ed 100644 (file)
 
 namespace wm {
 
-#ifndef NDEBUG
-#define DB(expr)                                                           \
-   do {                                                                    \
-      std::ostringstream o;                                                \
-      o << __FILE__ << ":" << __LINE__ << ":" << __func__ << ": " << expr; \
-      logdebug(o.str().c_str());                                           \
-   } while (0)
-#else
-#define DB(expr)
-#endif
-
 namespace {
 App *g_app;