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

index 139450b74a1e139f83e0ec57f50121a739b7965e..828ed47c4e21efc84bb33300d9c2c066249e25f9 100644 (file)
@@ -118,9 +118,9 @@ public:
   /// decay histogram by N bits (default 1, for a halflife)
   void decay(int bits = 1);
 
-  void dump(Formatter *f) const;
-  void encode(bufferlist &bl) const;
-  void decode(bufferlist::const_iterator &bl);
+  void dump(ceph::Formatter *f) const;
+  void encode(ceph::buffer::list &bl) const;
+  void decode(ceph::buffer::list::const_iterator &bl);
   static void generate_test_instances(std::list<pow2_hist_t*>& o);
 };
 WRITE_CLASS_ENCODER(pow2_hist_t)