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