fs/AllocatedPath: drop obsolete GCC check

This commit is contained in:
Max Kellermann 2017-12-27 08:50:55 +01:00
parent 7384ec199e
commit 5a728a069e

View File

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