fs/AllocatedPath: drop obsolete GCC check
This commit is contained in:
parent
7384ec199e
commit
5a728a069e
@ -77,10 +77,6 @@ AllocatedPath::ChopSeparators() noexcept
|
|||||||
while (l >= 2 && PathTraitsFS::IsSeparator(p[l - 1])) {
|
while (l >= 2 && PathTraitsFS::IsSeparator(p[l - 1])) {
|
||||||
--l;
|
--l;
|
||||||
|
|
||||||
#if GCC_CHECK_VERSION(4,7)
|
|
||||||
value.pop_back();
|
value.pop_back();
|
||||||
#else
|
|
||||||
value.erase(value.end() - 1, value.end());
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user