Make conversions from math types to String explicit, to avoid accidental conversions.

This commit is contained in:
Lukas Tenbrink 2025-06-09 01:58:18 +02:00
parent 9e02194297
commit ed836df150
25 changed files with 55 additions and 55 deletions

View file

@ -186,7 +186,7 @@ struct [[nodiscard]] Vector3 {
constexpr bool operator>(const Vector3 &p_v) const;
constexpr bool operator>=(const Vector3 &p_v) const;
operator String() const;
explicit operator String() const;
operator Vector3i() const;
constexpr Vector3() :