mirror of
https://github.com/ceph/ceph
synced 2025-01-18 09:02:08 +00:00
include/uuid: make bytes() return const *
Signed-off-by: Samuel Just <sjust@redhat.com>
This commit is contained in:
parent
cdd2b53a96
commit
bd49b956ad
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user