From ad5b154a25d2409e01857f272f105b9a54f9e7d2 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Wed, 4 Mar 2020 14:22:16 +0100 Subject: [PATCH] Remove unused lambda capture. --- src/plugins/file_system/s4u_FileSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/file_system/s4u_FileSystem.cpp b/src/plugins/file_system/s4u_FileSystem.cpp index 588ea8e60d..88478db242 100644 --- a/src/plugins/file_system/s4u_FileSystem.cpp +++ b/src/plugins/file_system/s4u_FileSystem.cpp @@ -93,7 +93,7 @@ File::File(const std::string& fullpath, void* userdata) : File(fullpath, Host::c File::File(const std::string& fullpath, sg_host_t host, void* userdata) : fullpath_(fullpath) { - kernel::actor::simcall([this, &fullpath, host, userdata] { + kernel::actor::simcall([this, &host, userdata] { this->set_data(userdata); // this cannot fail because we get a xbt_die if the mountpoint does not exist if (not host->get_mounted_storages().empty()) { -- 2.20.1