From 5d132dd877e767a32d8b9f31e821f540cedc70f3 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 20 Jan 2024 13:20:50 +0100 Subject: [PATCH] Fix warning. --- sfw/core/vector2i.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sfw/core/vector2i.h b/sfw/core/vector2i.h index c2793bf..2a3e164 100644 --- a/sfw/core/vector2i.h +++ b/sfw/core/vector2i.h @@ -139,10 +139,6 @@ Vector2i Vector2i::linear_interpolate(const Vector2i &p_to, real_t p_weight) con return res; } -_FORCE_INLINE_ Vector2i operator*(int p_scalar, const Vector2i &p_vec) { - return p_vec * p_scalar; -} - typedef Vector2i Size2i; typedef Vector2i Point2i;