Fixing an MSVC error from rL280692
MSVC emits an error when one uses a const variable in a lambda without capturing it. gcc and clang don't emit an error in this scenario. llvm-svn: 280707
This commit is contained in:
parent
b432a3ed7e
commit
e3950574a0
|
@ -218,7 +218,7 @@ protected:
|
|||
|
||||
const bool qualify_cxx_base_classes = false;
|
||||
|
||||
DumpValueObjectOptions::DeclPrintingHelper helper = [&valobj_sp](ConstString type,
|
||||
DumpValueObjectOptions::DeclPrintingHelper helper = [&valobj_sp, qualify_cxx_base_classes](ConstString type,
|
||||
ConstString var,
|
||||
const DumpValueObjectOptions &opts,
|
||||
Stream &stream) -> bool {
|
||||
|
|
Loading…
Reference in New Issue