From 36deafc96b99680a2b64111929459fafd3dc3df5 Mon Sep 17 00:00:00 2001 From: "Adam C. Emerson" Date: Thu, 28 Mar 2019 20:59:45 -0400 Subject: [PATCH] include: Update uuid.h to work without using namespace Signed-off-by: Adam C. Emerson --- src/include/uuid.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/include/uuid.h b/src/include/uuid.h index f957f87ab2e62..a28b90e2b798c 100644 --- a/src/include/uuid.h +++ b/src/include/uuid.h @@ -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) -- 2.39.5