summaryrefslogtreecommitdiff
path: root/src/storage/StorageInterface.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/StorageInterface.hxx')
-rw-r--r--src/storage/StorageInterface.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/storage/StorageInterface.hxx b/src/storage/StorageInterface.hxx
index 71a7358e4..e1a0626a6 100644
--- a/src/storage/StorageInterface.hxx
+++ b/src/storage/StorageInterface.hxx
@@ -24,6 +24,7 @@
#include <memory>
#include <string>
+#include <string_view>
struct StorageFileInfo;
class AllocatedPath;
@@ -73,8 +74,8 @@ public:
virtual AllocatedPath MapFS(const char *uri_utf8) const noexcept;
gcc_pure
- AllocatedPath MapChildFS(const char *uri_utf8,
- const char *child_utf8) const noexcept;
+ AllocatedPath MapChildFS(std::string_view uri_utf8,
+ std::string_view child_utf8) const noexcept;
/**
* Check if the given URI points inside this storage. If yes,