mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
UI/AppKit: Fix template keyword misuse causing Mac build failure
This commit is contained in:
parent
19961e2b45
commit
7c8d16ffca
|
|
@ -450,7 +450,7 @@ static void copy_data_to_clipboard(StringView data, NSPasteboardType pasteboard_
|
||||||
if (self == nil) {
|
if (self == nil) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
cursor.template visit(
|
cursor.visit(
|
||||||
[](Gfx::ImageCursor const& image_cursor) {
|
[](Gfx::ImageCursor const& image_cursor) {
|
||||||
auto* cursor_image = Ladybird::gfx_bitmap_to_ns_image(*image_cursor.bitmap.bitmap());
|
auto* cursor_image = Ladybird::gfx_bitmap_to_ns_image(*image_cursor.bitmap.bitmap());
|
||||||
auto hotspot = Ladybird::gfx_point_to_ns_point(image_cursor.hotspot);
|
auto hotspot = Ladybird::gfx_point_to_ns_point(image_cursor.hotspot);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user