Correct syntax for template instantiation

This commit is contained in:
Vas Crabb 2025-04-21 09:44:21 +10:00 committed by GitHub
parent 7864c26e17
commit 32c0279c14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2426,7 +2426,7 @@ TYPE ImGui::RoundScalarWithFormatT(const char* format, ImGuiDataType data_type,
return v; return v;
} }
template float ImGui::RoundScalarWithFormatT(const char* format, ImGuiDataType data_type, float v); template float ImGui::RoundScalarWithFormatT<float>(const char* format, ImGuiDataType data_type, float v);
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
// [SECTION] Widgets: DragScalar, DragFloat, DragInt, etc. // [SECTION] Widgets: DragScalar, DragFloat, DragInt, etc.