]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
common: Update options.h to work without using namespace
authorAdam C. Emerson <aemerson@redhat.com>
Fri, 29 Mar 2019 01:26:23 +0000 (21:26 -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/options.h

index 3f1cc4c94652b2ea4fa201e1118206028f524342..ac23560d2671e1cf678bb4bfb2f62afd66b42427 100644 (file)
@@ -220,7 +220,7 @@ struct Option {
     }
   }
 
-  void dump_value(const char *field_name, const value_t &v, Formatter *f) const;
+  void dump_value(const char *field_name, const value_t &v, ceph::Formatter *f) const;
 
   // Validate and potentially modify incoming string value
   int pre_validate(std::string *new_value, std::string *err) const;
@@ -361,8 +361,8 @@ struct Option {
     return *this;
   }
 
-  void dump(Formatter *f) const;
-  void print(ostream *out) const;
+  void dump(ceph::Formatter *f) const;
+  void print(std::ostream *out) const;
 
   bool has_flag(flag_t f) const {
     return flags & f;