cpp-common/bt2: do not use `bpstd::string_view`
[babeltrace.git] / src / cpp-common / bt2 / field.hpp
index cb9359e78c6bf114b12f71328b76db3fd1824947..32ea17c777d520c8862dbc589aa448a8234b8aff 100644 (file)
@@ -14,7 +14,6 @@
 
 #include "common/assert.h"
 #include "cpp-common/optional.hpp"
-#include "cpp-common/string_view.hpp"
 
 #include "borrowed-object.hpp"
 #include "field-class.hpp"
@@ -598,7 +597,7 @@ public:
         return _mLen;
     }
 
-    bpstd::string_view operator[](const std::uint64_t index) const noexcept
+    const char *operator[](const std::uint64_t index) const noexcept
     {
         return _mLabels[index];
     }
This page took 0.022806 seconds and 4 git commands to generate.