]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
common/blkdev: fix build in FreeBSD environment 19316/head
authorMykola Golub <to.my.trociny@gmail.com>
Mon, 4 Dec 2017 10:10:35 +0000 (10:10 +0000)
committerMykola Golub <to.my.trociny@gmail.com>
Mon, 4 Dec 2017 10:10:35 +0000 (10:10 +0000)
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
src/common/blkdev.cc

index 8d524818e89e4bcf56ffb4431e325044e92c1e0b..621e0b9087c98c3bd9c4e22609d243b28649d991 100644 (file)
@@ -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<string> *ls)
+void get_dm_parents(const std::string& dev, std::set<std::string> *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<string> *ls)
+void get_dm_parents(const std::string& dev, std::set<std::string> *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<string> *ls)
+void get_dm_parents(const std::string& dev, std::set<std::string> *ls)
 {
 }
 #endif