Update Mac.mm

This commit is contained in:
Mihai Alexandru
2024-04-22 16:31:08 +03:00
committed by GitHub
parent bf993d5919
commit 2f1f05b4ed
+2 -1
View File
@@ -1,4 +1,5 @@
#include <unordered_map>
#import <Cocoa/Cocoa.h>
#import "CursorHelper.h"
@@ -29,7 +30,7 @@
namespace ExternalMac
{
std::unordered_map<std::string, NSCursor *> customCursorCache;
std::unordered_map<const char *, NSCursor *> customCursorCache;
bool setCursorIcon(int icon, const char *customCursor, float customX, float customY)
{