Speculatively fix GCC 4.7 build after r219938

llvm-svn: 219941
This commit is contained in:
Hans Wennborg 2014-10-16 17:57:41 +00:00
parent ae2144ec3f
commit 1e46ef4e08
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ static void ParseProgName(SmallVectorImpl<const char *> &ArgVector,
for (int Components = 2; Components; --Components) {
auto I = std::find_if(std::begin(suffixes), std::end(suffixes),
[&](const decltype(suffixes[0]) &suffix) {
[&](decltype(suffixes[0]) &suffix) {
return ProgNameRef.endswith(suffix.Suffix);
});