summaryrefslogtreecommitdiffstats
path: root/lldb/unittests/Target/ModuleCacheTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/unittests/Target/ModuleCacheTest.cpp')
-rw-r--r--lldb/unittests/Target/ModuleCacheTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/unittests/Target/ModuleCacheTest.cpp b/lldb/unittests/Target/ModuleCacheTest.cpp
index de07648ae00..50218aa1191 100644
--- a/lldb/unittests/Target/ModuleCacheTest.cpp
+++ b/lldb/unittests/Target/ModuleCacheTest.cpp
@@ -102,8 +102,8 @@ void ModuleCacheTest::TryGetAndPut(const FileSpec &cache_dir,
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());
OpenPOWER on IntegriCloud