summaryrefslogtreecommitdiffstats
path: root/lldb
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2018-02-23 23:18:27 +0000
committerVedant Kumar <vsk@apple.com>2018-02-23 23:18:27 +0000
commitc79333413a5b9738ac43417173f44794efb3a7c8 (patch)
tree51ab312871914771f32f0f7539b0687b219d2c55 /lldb
parentc16b975ac8275d0503411b2a4bcb76112c19d046 (diff)
downloadbcm5719-llvm-c79333413a5b9738ac43417173f44794efb3a7c8.tar.gz
bcm5719-llvm-c79333413a5b9738ac43417173f44794efb3a7c8.zip
Fix a compiler warning in ModuleCacheTest.cpp, NFC
llvm-svn: 325974
Diffstat (limited to 'lldb')
-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