Attempt to fix the build with XCode 5.0.2 (and probably 5.1.1).

llvm-svn: 226282
This commit is contained in:
Alexander Kornienko 2015-01-16 15:57:15 +00:00
parent d4730ea555
commit d1f1fa2636
1 changed files with 3 additions and 1 deletions

View File

@ -78,7 +78,9 @@ ArgumentsAdjuster getInsertArgumentAdjuster(const char *Extra,
ArgumentsAdjuster combineAdjusters(ArgumentsAdjuster First,
ArgumentsAdjuster Second) {
return std::bind(Second, std::bind(First, std::placeholders::_1));
return [First, Second](const CommandLineArguments &Args) {
return Second(First(Args));
};
}
} // end namespace tooling