Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2022-01-11 00:52:14 +0300
committerClément Foucault <foucault.clem@gmail.com>2022-01-11 00:53:38 +0300
commit988dc73a145d395fa82a0639aedb7839fa934110 (patch)
treea429c3514f3635cad1015b58c06c78fc8b3e7cad
parent06dc56c176025c5b287096ab5c4c42495cc63b0a (diff)
Use `using` instead of typedef inside of vec_base
-rw-r--r--source/blender/blenlib/BLI_math_vec_types.hh4
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;