From: Mykola Golub Date: Mon, 4 Dec 2017 10:10:35 +0000 (+0000) Subject: common/blkdev: fix build in FreeBSD environment X-Git-Tag: v13.0.2~875^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2aefd5172b3fb29eb47106dc78198e7ffcbed83b;p=ceph.git common/blkdev: fix build in FreeBSD environment Signed-off-by: Mykola Golub --- diff --git a/src/common/blkdev.cc b/src/common/blkdev.cc index 8d524818e89e..621e0b9087c9 100644 --- a/src/common/blkdev.cc +++ b/src/common/blkdev.cc @@ -336,7 +336,7 @@ int get_device_by_uuid(uuid_d dev_uuid, const char* label, char* partition, return -EOPNOTSUPP; } -void get_dm_parents(const string& dev, set *ls) +void get_dm_parents(const std::string& dev, std::set *ls) { } @@ -376,7 +376,7 @@ int get_device_by_fd(int fd, char *partition, char *device, size_t max) return -EOPNOTSUPP; } -void get_dm_parents(const string& dev, set *ls) +void get_dm_parents(const std::string& dev, std::set *ls) { } @@ -411,7 +411,7 @@ int get_device_by_fd(int fd, char *partition, char *device, size_t max) { return -EOPNOTSUPP; } -void get_dm_parents(const string& dev, set *ls) +void get_dm_parents(const std::string& dev, std::set *ls) { } #endif