[llvm] r260471 - Fix build failure caused in r260430
Hemant Kulkarni via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 10 16:01:48 PST 2016
Author: khemant
Date: Wed Feb 10 18:01:47 2016
New Revision: 260471
URL: http://llvm.org/viewvc/llvm-project?rev=260471&view=rev
Log:
Fix build failure caused in r260430
Modified:
llvm/trunk/tools/llvm-readobj/ELFDumper.cpp
Modified: llvm/trunk/tools/llvm-readobj/ELFDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-readobj/ELFDumper.cpp?rev=260471&r1=260470&r2=260471&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-readobj/ELFDumper.cpp (original)
+++ llvm/trunk/tools/llvm-readobj/ELFDumper.cpp Wed Feb 10 18:01:47 2016
@@ -2292,7 +2292,7 @@ void GNUStyle<ELFT>::printFileHeaders(co
OS << "ELF Header:\n";
OS << " Magic: ";
std::string Str;
- auto printFields = [&](StringRef Str1, StringRef Str2) -> void {
+ auto printFields = [this](StringRef Str1, StringRef Str2) -> void {
OS.PadToColumn(2u);
OS << Str1;
OS.PadToColumn(37u);
More information about the llvm-commits
mailing list