From 5d7cbec34cd5e473d5768b39054d99bc72ddad62 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Thu, 27 Apr 2023 12:55:30 +1000 Subject: Move DB interactions to a background thread --- src/database/include/file_gatherer.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/database/include/file_gatherer.hpp') diff --git a/src/database/include/file_gatherer.hpp b/src/database/include/file_gatherer.hpp index 7cf00b41..5df5a61b 100644 --- a/src/database/include/file_gatherer.hpp +++ b/src/database/include/file_gatherer.hpp @@ -45,7 +45,7 @@ auto FindFiles(const std::string& root, Callback cb) -> void { to_explore.push_back(full_path.str()); } else { // This is a file! Let the callback know about it. - //std::invoke(cb, full_path.str(), info); + // std::invoke(cb, full_path.str(), info); std::invoke(cb, full_path.str()); } } -- cgit v1.2.3