aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs/Path.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-03-03 12:39:13 +0100
committerMax Kellermann <max@duempel.org>2015-03-03 12:44:07 +0100
commitb0983e8708669fb60ac78ca1248957e1a9d7b84d (patch)
treec90b01d4ce4ea131564ad0ab257dabba021161b8 /src/fs/Path.hxx
parent0febb218ed1ab5b530f4f3a62e0321678f41fb96 (diff)
downloadmpd-b0983e8708669fb60ac78ca1248957e1a9d7b84d.tar.gz
mpd-b0983e8708669fb60ac78ca1248957e1a9d7b84d.tar.xz
mpd-b0983e8708669fb60ac78ca1248957e1a9d7b84d.zip
fs/Traits: add Find()
Diffstat (limited to 'src/fs/Path.hxx')
-rw-r--r--src/fs/Path.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/Path.hxx b/src/fs/Path.hxx
index 962518896..3ff7ddba2 100644
--- a/src/fs/Path.hxx
+++ b/src/fs/Path.hxx
@@ -129,7 +129,7 @@ public:
*/
gcc_pure
bool HasNewline() const {
- return strchr(value, '\n') != nullptr;
+ return PathTraitsFS::Find(value, '\n') != nullptr;
}
/**