From 89b5da8e09afc5be5a1887b5572b41f678655820 Mon Sep 17 00:00:00 2001 From: Pascal Serrarens Date: Fri, 15 Mar 2024 11:28:46 +0100 Subject: [PATCH] Fix ambiguity --- AngleUsing.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AngleUsing.h b/AngleUsing.h index d6eb4d0..156fd6e 100644 --- a/AngleUsing.h +++ b/AngleUsing.h @@ -14,7 +14,7 @@ public: inline T GetValue() const { return this->value; } AngleUsing operator+(const AngleUsing a) { - AngleUsing r = AngleUsing(this->value + a.value); + AngleUsing r = AngleUsing((float)this->value + a.value); return r; }