| 107 | /// interactions with the STL. |
| 108 | struct ByPath { |
| 109 | bool operator()(const FileInfo& l, const FileInfo& r) const { |
| 110 | return l.path() < r.path(); |
| 111 | } |
| 112 | |
| 113 | size_t operator()(const FileInfo& i) const { |
| 114 | return std::hash<std::string>{}(i.path()); |