Commit ff50322c authored by Martin Marinov's avatar Martin Marinov
Browse files

Add missing :: qualifiers for namespace Debug use in some macros

parent c9457a07
......@@ -135,7 +135,7 @@ std::string to_string(const T& _t)
#define DEB_enter_func \
PROGRESS_TICK; \
static int deb_nmbr = 0; \
static int deb_lvl = Debug::INVALID_LEVEL; \
static int deb_lvl = ::Debug::INVALID_LEVEL; \
::Debug::Enter deb(__FILE__, __FUNCTION__, deb_nmbr, deb_lvl);
#define DEB_only(CC) CC
......
......@@ -42,13 +42,13 @@ private:
} //namespace Debug
#define DEB_time_session(SSSN, LL) PROGRESS_TICK; \
Debug::StopWatchSession __sw_sssn(deb, SSSN, LL);
::Debug::StopWatchSession __sw_sssn(deb, SSSN, LL);
#define DEB_time_session_def(SSSN) PROGRESS_TICK; \
Debug::StopWatchSession __sw_sssn(deb, SSSN, 2);
::Debug::StopWatchSession __sw_sssn(deb, SSSN, 2);
#define DEB_time_func(LL) DEB_enter_func \
Debug::StopWatchSession __sw_func(deb, __FUNCTION__, LL);
::Debug::StopWatchSession __sw_func(deb, __FUNCTION__, LL);
#define DEB_time_func_def DEB_time_func(2)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment