]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
common: Update EventTrace.h to work without using namespace
authorAdam C. Emerson <aemerson@redhat.com>
Fri, 29 Mar 2019 01:40:36 +0000 (21:40 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Fri, 29 Mar 2019 14:30:38 +0000 (10:30 -0400)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/common/EventTrace.h

index c97ff51de1c4b60e3d007459e1eacfadc3765461..82ba021a552d0f3e06a076b21669eda3b0881e08 100644 (file)
 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: