diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-01-11 00:52:14 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-01-11 00:53:38 +0300 |
commit | 988dc73a145d395fa82a0639aedb7839fa934110 (patch) | |
tree | a429c3514f3635cad1015b58c06c78fc8b3e7cad | |
parent | 06dc56c176025c5b287096ab5c4c42495cc63b0a (diff) |
Use `using` instead of typedef inside of vec_base
-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; |