summaryrefslogtreecommitdiff
path: root/src/database/include/file_gatherer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/database/include/file_gatherer.hpp')
-rw-r--r--src/database/include/file_gatherer.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/database/include/file_gatherer.hpp b/src/database/include/file_gatherer.hpp
index 66127bb7..685bdb2c 100644
--- a/src/database/include/file_gatherer.hpp
+++ b/src/database/include/file_gatherer.hpp
@@ -21,7 +21,7 @@ class IFileGatherer {
virtual auto FindFiles(
const std::string& root,
- std::function<void(const std::string&, const FILINFO&)> cb)
+ std::function<void(std::string_view, const FILINFO&)> cb)
-> void = 0;
};
@@ -29,7 +29,7 @@ class FileGathererImpl : public IFileGatherer {
public:
virtual auto FindFiles(
const std::string& root,
- std::function<void(const std::string&, const FILINFO&)> cb)
+ std::function<void(std::string_view, const FILINFO&)> cb)
-> void override;
};