[Lldb-commits] [lldb] r325974 - Fix a compiler warning in ModuleCacheTest.cpp, NFC
Vedant Kumar via lldb-commits
lldb-commits at lists.llvm.org
Fri Feb 23 15:18:27 PST 2018
Author: vedantk
Date: Fri Feb 23 15:18:27 2018
New Revision: 325974
URL: http://llvm.org/viewvc/llvm-project?rev=325974&view=rev
Log:
Fix a compiler warning in ModuleCacheTest.cpp, NFC
Modified:
lldb/trunk/unittests/Target/ModuleCacheTest.cpp
Modified: lldb/trunk/unittests/Target/ModuleCacheTest.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/unittests/Target/ModuleCacheTest.cpp?rev=325974&r1=325973&r2=325974&view=diff
==============================================================================
--- lldb/trunk/unittests/Target/ModuleCacheTest.cpp (original)
+++ lldb/trunk/unittests/Target/ModuleCacheTest.cpp Fri Feb 23 15:18:27 2018
@@ -102,8 +102,8 @@ void ModuleCacheTest::TryGetAndPut(const
Status error = mc.GetAndPut(
cache_dir, hostname, module_spec,
- [this, &download_called](const ModuleSpec &module_spec,
- const FileSpec &tmp_download_file_spec) {
+ [&download_called](const ModuleSpec &module_spec,
+ const FileSpec &tmp_download_file_spec) {
download_called = true;
EXPECT_STREQ(GetDummyRemotePath().GetCString(),
module_spec.GetFileSpec().GetCString());
More information about the lldb-commits
mailing list