summaryrefslogtreecommitdiff
path: root/src/database/include/file_gatherer.hpp
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2023-12-07 16:57:05 +1100
committerjacqueline <me@jacqueline.id.au>2023-12-07 17:00:30 +1100
commit3f7f199cb940c8d5f6d48f77fd59971adffe49ef (patch)
treeaa22162e46c5e9ccce4c7ee8537b493f437664d9 /src/database/include/file_gatherer.hpp
parent009f69c929eb1d1b65d75b0937fbf3b8de5d9148 (diff)
downloadtangara-fw-3f7f199cb940c8d5f6d48f77fd59971adffe49ef.tar.gz
Remove pre-iterator concepts
- No more IndexRecord/Result/dbGetPage nonsense - Queue is just track ids - i am so tired and have so much to do
Diffstat (limited to 'src/database/include/file_gatherer.hpp')
-rw-r--r--src/database/include/file_gatherer.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/database/include/file_gatherer.hpp b/src/database/include/file_gatherer.hpp
index 378727f7..66127bb7 100644
--- a/src/database/include/file_gatherer.hpp
+++ b/src/database/include/file_gatherer.hpp
@@ -20,16 +20,16 @@ class IFileGatherer {
virtual ~IFileGatherer(){};
virtual auto FindFiles(
- const std::pmr::string& root,
- std::function<void(const std::pmr::string&, const FILINFO&)> cb)
+ const std::string& root,
+ std::function<void(const std::string&, const FILINFO&)> cb)
-> void = 0;
};
class FileGathererImpl : public IFileGatherer {
public:
virtual auto FindFiles(
- const std::pmr::string& root,
- std::function<void(const std::pmr::string&, const FILINFO&)> cb)
+ const std::string& root,
+ std::function<void(const std::string&, const FILINFO&)> cb)
-> void override;
};