From ceba508593fbb2f897dfa6ba38ec3839e62d85a8 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Fri, 13 Oct 2023 15:29:06 +1100 Subject: Add modified time to TrackData --- src/database/file_gatherer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/database/file_gatherer.cpp') 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 cb) -> void { + std::function cb) -> void { std::pmr::deque 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); } } } -- cgit v1.2.3