Skip to content

Commit

Permalink
Fix "error: no viable conversion" (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiota authored May 3, 2024
1 parent e763a70 commit 26beef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/InputCommon/XInput2Mouse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ bool InitXInput2Mouse(void* const hwnd)
current_master = &all_masters[0];
if (current_master->use == XIMasterPointer)
{
g_mouse_input.reset(XInput2Mouse((Window)hwnd, xi_opcode, current_master->deviceid));
g_mouse_input.reset(new XInput2Mouse((Window)hwnd, xi_opcode, current_master->deviceid));
}

XCloseDisplay(dpy);
Expand Down

0 comments on commit 26beef4

Please sign in to comment.