Searched refs:dir_deleter (Results 1 – 1 of 1) sorted by relevance
344 auto dir_deleter = [](DIR* handle) { closedir(handle); }; in ForEachFileInDir() local345 std::unique_ptr<DIR, decltype(dir_deleter)> dir(opendir(dirname.c_str()), in ForEachFileInDir()346 dir_deleter); in ForEachFileInDir()