fix: Remove constexpr from functions that really aren't constexpr

This commit is contained in:
WerWolv
2025-01-14 17:50:48 +01:00
parent ecc86ee429
commit 1a54e08f11

View File

@@ -721,11 +721,11 @@ namespace hex::plugin::builtin {
}
private:
constexpr static float pixelsToPoints(float pixels) {
static float pixelsToPoints(float pixels) {
return pixels * (72_scaled / 96.0F);
}
constexpr static float pointsToPixels(float points) {
static float pointsToPixels(float points) {
return points / (72_scaled / 96.0F);
}
};