diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-10-13 15:29:06 +1100 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-10-13 15:29:06 +1100 |
| commit | ceba508593fbb2f897dfa6ba38ec3839e62d85a8 (patch) | |
| tree | f59acafa65e3acababa154c04a4a36870ea57857 /src/database/file_gatherer.cpp | |
| parent | afbf3c31f4d1a605c264f719531f4183ee5a3022 (diff) | |
| download | tangara-fw-ceba508593fbb2f897dfa6ba38ec3839e62d85a8.tar.gz | |
Add modified time to TrackData
Diffstat (limited to 'src/database/file_gatherer.cpp')
| -rw-r--r-- | src/database/file_gatherer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/database/file_gatherer.cpp b/src/database/file_gatherer.cpp index b4e87acb..55777139 100644 --- a/src/database/file_gatherer.cpp +++ b/src/database/file_gatherer.cpp @@ -22,7 +22,7 @@ static_assert(sizeof(TCHAR) == sizeof(char), "TCHAR must be CHAR"); auto FileGathererImpl::FindFiles( const std::pmr::string& root, - std::function<void(const std::pmr::string&)> cb) -> void { + std::function<void(const std::pmr::string&, const FILINFO&)> cb) -> void { std::pmr::deque<std::pmr::string> to_explore(&memory::kSpiRamResource); to_explore.push_back(root); @@ -65,7 +65,7 @@ auto FileGathererImpl::FindFiles( } else { // This is a file! Let the callback know about it. // std::invoke(cb, full_path.str(), info); - std::invoke(cb, full_path); + std::invoke(cb, full_path, info); } } } |
