diff --git a/include/bits/soi-dbg.hpp b/include/bits/soi-dbg.hpp index d8c89aa..b116e42 100644 --- a/include/bits/soi-dbg.hpp +++ b/include/bits/soi-dbg.hpp @@ -203,7 +203,9 @@ template T &&identity(T &&t) { return std::forward(t); } } // namespace soi #ifdef SOI_RELEASE -#define dbg(...) dbg_macro::identity(__VA_ARGS__) + +#define dbg(...) ::soi::detail::identity(__VA_ARGS__) + #else #if defined(__clang__) @@ -217,6 +219,7 @@ template T &&identity(T &&t) { return std::forward(t); } #define SOI_IS_NONEMPTY(...) __VA_OPT__(1) #define SOI_DBG_IMPL_ SOI_DBG_IMPL_0 + #endif #define SOI_DBG_IMPL_0() \