From cac7c88397110280cc8e539750dff4bfd9f5fcf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 30 Jan 2026 14:57:22 +0100 Subject: [PATCH] Math: add a TODO. --- src/Magnum/Math/Unit.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Magnum/Math/Unit.h b/src/Magnum/Math/Unit.h index fcb4b0868..5686cdf8e 100644 --- a/src/Magnum/Math/Unit.h +++ b/src/Magnum/Math/Unit.h @@ -177,6 +177,10 @@ template class Derived, class T> class Unit { * * Similar to @ref operator*=(T), except that the multiplication is * done in floating-point. + * @todo with this overload `py::overload_cast<&Deg::operator*>()` and + * similar implementations no longer work, only explicit + * static_cast with all types enumerated does, turning it into a + * friend fixes that (but might break other things) */ template