cpp-common/bt2: do not use `bpstd::string_view`
[babeltrace.git] / src / cpp-common / bt2 / value.hpp
index cfbc92b52c4d1904c125ac56a4a9e2b60a6ac136..54d33bcc5c3e0ba2991cf0f01d4a0f1f7064f6e3 100644 (file)
@@ -16,7 +16,6 @@
 #include "common/assert.h"
 #include "common/common.h"
 #include "cpp-common/optional.hpp"
-#include "cpp-common/string_view.hpp"
 
 #include "borrowed-object-iterator.hpp"
 #include "borrowed-object.hpp"
@@ -1139,7 +1138,7 @@ struct TypeDescr<ConstArrayValue> : public ArrayValueTypeDescr
  * First argument is the entry's key, second is its value.
  */
 template <typename ObjT>
-using CommonMapValueForEachUserFunc = std::function<void(const bpstd::string_view&, ObjT)>;
+using CommonMapValueForEachUserFunc = std::function<void(const char *, ObjT)>;
 
 /*
  * Template of a function to be passed to bt_value_map_foreach_entry()
This page took 0.024231 seconds and 4 git commands to generate.