]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
chore: Remove now superfluous "this->" in lambda
authorJoel Rosdahl <joel@rosdahl.net>
Mon, 20 Feb 2023 19:51:27 +0000 (20:51 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Sat, 4 Mar 2023 09:10:19 +0000 (10:10 +0100)
It was needed for compatibility with older compilers.

src/Config.cpp

index a28d56473246af7fad67e0e524c0bd564a253945..3312ac8139bb8daeae271ec29d6cd138c6a63154 100644 (file)
@@ -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);
       }
     });
 }