diff options
author | Max Kellermann <max@duempel.org> | 2015-02-25 16:10:24 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-02-25 19:17:45 +0100 |
commit | eb174d5ba317743ca21295697df90a7ed66a64bb (patch) | |
tree | 1d63d91b3517353fac94b5706d37606d93616696 /src/fs/AllocatedPath.cxx | |
parent | 4c899e9c5aec4d7fea56da95eed8784a41ea4b5b (diff) | |
download | mpd-eb174d5ba317743ca21295697df90a7ed66a64bb.tar.gz mpd-eb174d5ba317743ca21295697df90a7ed66a64bb.tar.xz mpd-eb174d5ba317743ca21295697df90a7ed66a64bb.zip |
fs/{Allocated,}Path,Charset: use PathTraitsFS typedefs
Diffstat (limited to '')
-rw-r--r-- | src/fs/AllocatedPath.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/AllocatedPath.cxx b/src/fs/AllocatedPath.cxx index 45447de69..2d51b6285 100644 --- a/src/fs/AllocatedPath.cxx +++ b/src/fs/AllocatedPath.cxx @@ -87,7 +87,7 @@ void AllocatedPath::ChopSeparators() { size_t l = length(); - const char *p = data(); + const auto *p = data(); while (l >= 2 && PathTraitsFS::IsSeparator(p[l - 1])) { --l; |