diff options
Diffstat (limited to 'source/blender/blenlib/BLI_math_vec_types.hh')
-rw-r--r-- | source/blender/blenlib/BLI_math_vec_types.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_math_vec_types.hh b/source/blender/blenlib/BLI_math_vec_types.hh index 2e0b17d8bc4..31f28061410 100644 --- a/source/blender/blenlib/BLI_math_vec_types.hh +++ b/source/blender/blenlib/BLI_math_vec_types.hh @@ -59,8 +59,8 @@ template<typename T, int Size> struct vec_base : public vec_struct_base<T, Size> static constexpr int type_length = Size; - typedef T base_type; - typedef vec_base<as_uint_type<T>, Size> uint_type; + using base_type = T; + using uint_type = vec_base<as_uint_type<T>, Size>; vec_base() = default; |