diff options
author | Dimitar Vlahovski <dvlahovski@google.com> | 2016-09-06 12:48:10 +0000 |
---|---|---|
committer | Dimitar Vlahovski <dvlahovski@google.com> | 2016-09-06 12:48:10 +0000 |
commit | e3950574a0b1c3efd149d62c4b7f9183dd83eaa8 (patch) | |
tree | 7ce982348308eb0b55580cf2898e00d5dff497f0 | |
parent | b432a3ed7ee0a6b23e47a0d359ff00b0e84ac131 (diff) | |
download | llvm-e3950574a0b1c3efd149d62c4b7f9183dd83eaa8.zip llvm-e3950574a0b1c3efd149d62c4b7f9183dd83eaa8.tar.gz llvm-e3950574a0b1c3efd149d62c4b7f9183dd83eaa8.tar.bz2 |
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
-rw-r--r-- | lldb/source/Commands/CommandObjectFrame.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectFrame.cpp b/lldb/source/Commands/CommandObjectFrame.cpp index d508bf4..a8e73fb 100644 --- a/lldb/source/Commands/CommandObjectFrame.cpp +++ b/lldb/source/Commands/CommandObjectFrame.cpp @@ -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 { |