From a1564f2eccca53f6f0120ba1deb6cdcccbcd7c80 Mon Sep 17 00:00:00 2001 From: "Adam C. Emerson" Date: Thu, 28 Mar 2019 21:40:36 -0400 Subject: [PATCH] common: Update EventTrace.h to work without using namespace Signed-off-by: Adam C. Emerson --- src/common/EventTrace.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/EventTrace.h b/src/common/EventTrace.h index c97ff51de1c..82ba021a552 100644 --- a/src/common/EventTrace.h +++ b/src/common/EventTrace.h @@ -49,15 +49,15 @@ class EventTrace { private: CephContext *ctx; - string file; - string func; + std::string file; + std::string func; int line; utime_t last_ts; static bool tpinit; static void init_tp(CephContext *_ctx); - static void set_message_attrs(const Message *m, string& oid, string& context, bool incl_oid); + static void set_message_attrs(const Message *m, std::string& oid, std::string& context, bool incl_oid); public: -- 2.39.5