From 5a728a069e4a73c21212a50879e0571eb441b24d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 27 Dec 2017 08:50:55 +0100 Subject: [PATCH] fs/AllocatedPath: drop obsolete GCC check --- src/fs/AllocatedPath.cxx | 4 ---- 1 file changed, 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 } }