From: Adam C. Emerson Date: Fri, 29 Mar 2019 01:40:36 +0000 (-0400) Subject: common: Update EventTrace.h to work without using namespace X-Git-Tag: v15.0.0~19^2~15 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a1564f2eccca53f6f0120ba1deb6cdcccbcd7c80;p=ceph.git common: Update EventTrace.h to work without using namespace Signed-off-by: Adam C. Emerson --- 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: