]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
include: Update uuid.h to work without using namespace
authorAdam C. Emerson <aemerson@redhat.com>
Fri, 29 Mar 2019 00:59:45 +0000 (20:59 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Fri, 29 Mar 2019 14:30:36 +0000 (10:30 -0400)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/include/uuid.h

index f957f87ab2e625b16aa5f777605a3149e52baf29..a28b90e2b798c1f03b38da1ed61ffaa6e21e9bfb 100644 (file)
@@ -1,3 +1,4 @@
+// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
 #ifndef _CEPH_UUID_H
 #define _CEPH_UUID_H
 
@@ -53,12 +54,12 @@ struct uuid_d {
     return (char*)uuid.data;
   }
 
-  void encode(bufferlist& bl) const {
-    ::encode_raw(uuid, bl);
+  void encode(ceph::buffer::list& bl) const {
+    ceph::encode_raw(uuid, bl);
   }
 
-  void decode(bufferlist::const_iterator& p) const {
-    ::decode_raw(uuid, p);
+  void decode(ceph::buffer::list::const_iterator& p) const {
+    ceph::decode_raw(uuid, p);
   }
 };
 WRITE_CLASS_ENCODER(uuid_d)