From 0b252e9983e9d4282aeb14912e4f16c971660ba5 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 29 Jun 2011 15:03:44 -0700 Subject: [PATCH] client: make tdout() work in header Signed-off-by: Sage Weil --- src/client/Client.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/client/Client.cc b/src/client/Client.cc index 1f81ab132927a..0927f85aa0c84 100644 --- a/src/client/Client.cc +++ b/src/client/Client.cc @@ -31,7 +31,6 @@ using namespace std; #include "common/config.h" // ceph stuff -#include "Client.h" #include "messages/MMonMap.h" @@ -62,12 +61,16 @@ using namespace std; #include "common/config.h" #define DOUT_SUBSYS client + +#include "Client.h" + #undef dout_prefix #define dout_prefix *_dout << "client" << whoami << " " #define tout(cct) if (!cct->_conf->client_trace.empty()) traceout + // static logger Mutex client_logger_lock("client_logger_lock"); ProfLogType client_logtype(l_c_first, l_c_last); -- 2.39.5