aboutsummaryrefslogtreecommitdiff
path: root/src/test/util/logging.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/util/logging.h')
-rw-r--r--src/test/util/logging.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/util/logging.h b/src/test/util/logging.h
index ebe0ecf623..f477088392 100644
--- a/src/test/util/logging.h
+++ b/src/test/util/logging.h
@@ -36,6 +36,6 @@ public:
~DebugLogHelper() { check_found(); }
};
-#define ASSERT_DEBUG_LOG(message) DebugLogHelper PASTE2(debugloghelper, __COUNTER__)(message)
+#define ASSERT_DEBUG_LOG(message) DebugLogHelper UNIQUE_NAME(debugloghelper)(message)
#endif // BITCOIN_TEST_UTIL_LOGGING_H