fix(Hotkey): Make inline to make compiler happy

This commit is contained in:
Yimura 2022-01-18 02:21:04 +01:00
parent 6e9fbcdf09
commit 1ad337492a
No known key found for this signature in database
GPG Key ID: 3D8FF4397E768682

View File

@ -174,7 +174,7 @@ namespace ImGui
"VK_RMENU"
};
bool Hotkey(const char* label, int* k, const ImVec2& size_arg = {})
inline bool Hotkey(const char* label, int* k, const ImVec2& size_arg = {})
{
ImGuiWindow* window = ImGui::GetCurrentWindow();
if (window->SkipItems)