diff options
Diffstat (limited to 'source/10-common/Rect.hpp')
-rw-r--r-- | source/10-common/Rect.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/10-common/Rect.hpp b/source/10-common/Rect.hpp index 89d9b01..86a1268 100644 --- a/source/10-common/Rect.hpp +++ b/source/10-common/Rect.hpp @@ -4,7 +4,7 @@ /// Rect is a rectangle representation based on a point and a dimensions, in television coordinate space /// (x increases from left to right, y increases from top to bottom). -template <class T> +template <typename T> class Rect { public: using ScalarType = T; @@ -152,7 +152,7 @@ public: return *this; } - template <class TTarget> + template <typename TTarget> Rect<TTarget> Cast() const { return { static_cast<TTarget>(x), |