mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-03 03:13:48 +00:00
[core] Switch to ankerl::unordered_dense
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
@@ -13,10 +13,7 @@ void EnumerateFiles(std::string const & directory, std::function<void(char const
|
||||
void EnumerateFilesByRegExp(std::string const & directory, boost::regex const & regexp, std::vector<std::string> & res);
|
||||
|
||||
inline void EnumerateFiles(std::string const & directory, std::vector<std::string> & res)
|
||||
{
|
||||
EnumerateFiles(directory, [&](char const * entry)
|
||||
{
|
||||
res.push_back(std::string(entry));
|
||||
});
|
||||
{
|
||||
EnumerateFiles(directory, [&](char const * entry) { res.push_back(std::string(entry)); });
|
||||
}
|
||||
} // namespace pl
|
||||
|
||||
Reference in New Issue
Block a user