1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 02:13:56 +09:00

UI/AppKit: Fix template keyword misuse causing Mac build failure

This commit is contained in:
Silvano Cerza 2025-03-01 12:24:04 +01:00 committed by Tim Flynn
parent 19961e2b45
commit 7c8d16ffca
Notes: github-actions[bot] 2025-03-01 13:36:55 +00:00

View file

@ -450,7 +450,7 @@ static void copy_data_to_clipboard(StringView data, NSPasteboardType pasteboard_
if (self == nil) {
return;
}
cursor.template visit(
cursor.visit(
[](Gfx::ImageCursor const& image_cursor) {
auto* cursor_image = Ladybird::gfx_bitmap_to_ns_image(*image_cursor.bitmap.bitmap());
auto hotspot = Ladybird::gfx_point_to_ns_point(image_cursor.hotspot);