include/uuid: make bytes() return const *

Signed-off-by: Samuel Just <sjust@redhat.com>
This commit is contained in:
Samuel Just 2020-11-05 15:11:17 -08:00
parent cdd2b53a96
commit bd49b956ad

View File

@ -55,8 +55,8 @@ struct uuid_d {
return boost::uuids::to_string(uuid);
}
char *bytes() const {
return (char*)uuid.data;
const char *bytes() const {
return (const char*)uuid.data;
}
void encode(::ceph::buffer::list::contiguous_appender& p) const {