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 } }