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
This commit is contained in:
Piotr Tworek 2021-10-05 13:48:45 +02:00 committed by Norman Feske
parent ec7d0efddf
commit c1a566ce63

View File

@ -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(); });
}