summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2023-02-20 20:51:27 +0100
committerJoel Rosdahl <joel@rosdahl.net>2023-03-04 10:10:19 +0100
commitd56c03875a5fb3a931854481900e6fe18a3202bd (patch)
tree843aa665336e288ff350220c56db0ff71a85d388
parent283dfe52b8eed5185f63ee7579b624e2b4750b73 (diff)
downloadccache-d56c03875a5fb3a931854481900e6fe18a3202bd.tar.gz
chore: Remove now superfluous "this->" in lambda
It was needed for compatibility with older compilers.
-rw-r--r--src/Config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Config.cpp b/src/Config.cpp
index a28d5647..3312ac81 100644
--- a/src/Config.cpp
+++ b/src/Config.cpp
@@ -655,7 +655,7 @@ Config::update_from_file(const std::string& path)
return parse_config_file(
path, [&](const auto& /*line*/, const auto& key, const auto& value) {
if (!key.empty()) {
- this->set_item(key, value, std::nullopt, false, path);
+ set_item(key, value, std::nullopt, false, path);
}
});
}