From c1a566ce632c997a3d82cccfda3741fece7ce4e7 Mon Sep 17 00:00:00 2001 From: Piotr Tworek Date: Tue, 5 Oct 2021 13:48:45 +0200 Subject: [PATCH] gems: Remove unused lambda capture in vfs/ttf. Clang complains "this" captured by the lambda is not used. Remove the capture to make it happy. Issue #4421 --- repos/gems/src/lib/vfs/ttf/glyphs_file_system.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repos/gems/src/lib/vfs/ttf/glyphs_file_system.h b/repos/gems/src/lib/vfs/ttf/glyphs_file_system.h index cd752119a6..e55ac043e6 100644 --- a/repos/gems/src/lib/vfs/ttf/glyphs_file_system.h +++ b/repos/gems/src/lib/vfs/ttf/glyphs_file_system.h @@ -133,7 +133,7 @@ class Vfs::Glyphs_file_system : public Vfs::Single_file_system */ void trigger_watch_response() { - _handle_registry.for_each([this] (Registered_watch_handle &handle) { + _handle_registry.for_each([] (Registered_watch_handle &handle) { handle.watch_response(); }); }