From e4cb33f25012c534f0582d485c4f491f9dd3cd25 Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期日, 29 一月 2023 09:26:26 +0800 Subject: [PATCH] bug fixed query_proc --- src/common.h | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/common.h b/src/common.h index 819c09a..ea15849 100644 --- a/src/common.h +++ b/src/common.h @@ -17,17 +17,20 @@ namespace nng_wrap { -static thread_local std::string verbose_info{}; +#define TAG +#define PRNTVITAG(args) + +/* #ifndef PRNTVITAG +static thread_local std::string verbose_info{}; #define TAG do{ verbose_info.clear(); \ verbose_info=string("function [")+__FUNCTION__+string("]"); \ }while(0) #define PRNTVITAG(msg) do{ \ verbose_info+=string("-> (") + msg + string(")"); \ }while(0) -// #define TAG -// #define PRNTVITAG(args) #endif +*/ ///////////////////////////////////////////////// enum{ -- Gitblit v1.8.0