summaryrefslogtreecommitdiff
path: root/src/fs
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-12-27 08:50:55 +0100
committerMax Kellermann <max@musicpd.org>2017-12-27 08:50:55 +0100
commit5a728a069e4a73c21212a50879e0571eb441b24d (patch)
treef9b2d474e3ee54afde0051dfbf5511342f186689 /src/fs
parent7384ec199effce04e26875bd5045121527683bb2 (diff)
fs/AllocatedPath: drop obsolete GCC check
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/AllocatedPath.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/fs/AllocatedPath.cxx b/src/fs/AllocatedPath.cxx
index ffa307905..2c94b37ce 100644
--- a/src/fs/AllocatedPath.cxx
+++ b/src/fs/AllocatedPath.cxx
@@ -77,10 +77,6 @@ AllocatedPath::ChopSeparators() noexcept
while (l >= 2 && PathTraitsFS::IsSeparator(p[l - 1])) {
--l;
-#if GCC_CHECK_VERSION(4,7)
value.pop_back();
-#else
- value.erase(value.end() - 1, value.end());
-#endif
}
}