fs/Traits: add Find()

This commit is contained in:
Max Kellermann
2015-03-03 12:39:13 +01:00
parent 0febb218ed
commit b0983e8708
2 changed files with 21 additions and 1 deletions

View File

@@ -129,7 +129,7 @@ public:
*/
gcc_pure
bool HasNewline() const {
return strchr(value, '\n') != nullptr;
return PathTraitsFS::Find(value, '\n') != nullptr;
}
/**