]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/mds/snap.h
update sources to v12.2.5
[ceph.git] / ceph / src / mds / snap.h
index 4032520c605a86733453eab7a43e6b9e0f94b4e1..a10f4f86c4c59bbb915b988079e27123cc68a58f 100644 (file)
@@ -15,6 +15,8 @@
 #ifndef CEPH_MDS_SNAP_H
 #define CEPH_MDS_SNAP_H
 
+#include <boost/utility/string_view.hpp>
+
 #include "mdstypes.h"
 #include "common/snap_types.h"
 
@@ -34,7 +36,7 @@ struct SnapInfo {
   void dump(Formatter *f) const;
   static void generate_test_instances(list<SnapInfo*>& ls);
 
-  const string& get_long_name();
+  boost::string_view get_long_name();
 };
 WRITE_CLASS_ENCODER(SnapInfo)