Compiler.h: exclude clang from GCC_CHECK_VERSION()
This commit is contained in:
@@ -111,7 +111,7 @@ AllocatedPath::ChopSeparators()
|
||||
while (l >= 2 && PathTraitsFS::IsSeparator(p[l - 1])) {
|
||||
--l;
|
||||
|
||||
#if GCC_CHECK_VERSION(4,7) && !defined(__clang__)
|
||||
#if GCC_CHECK_VERSION(4,7)
|
||||
value.pop_back();
|
||||
#else
|
||||
value.erase(value.end() - 1, value.end());
|
||||
|
Reference in New Issue
Block a user