summaryrefslogtreecommitdiffstats
path: root/servers/rendering/storage/variant_converters.h
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-03-07 20:29:49 -0600
committerThaddeus Crews <repiteo@outlook.com>2024-03-07 22:39:09 -0600
commit9903e6779b70fc03aae70a37b9cf053f4f355b91 (patch)
tree16ee7fbb98471ff6b4f3ea97e9a9389ae33282ea /servers/rendering/storage/variant_converters.h
parentaef11a14274f6f9e74ad91ead1d7c07ea1dd7f5f (diff)
downloadredot-engine-9903e6779b70fc03aae70a37b9cf053f4f355b91.tar.gz
Enforce template syntax `typename` over `class`
Diffstat (limited to 'servers/rendering/storage/variant_converters.h')
-rw-r--r--servers/rendering/storage/variant_converters.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/rendering/storage/variant_converters.h b/servers/rendering/storage/variant_converters.h
index 6e3c07237e..7dbdb0f517 100644
--- a/servers/rendering/storage/variant_converters.h
+++ b/servers/rendering/storage/variant_converters.h
@@ -242,10 +242,10 @@ inline bool is_convertible_array(Variant::Type type) {
type == Variant::PACKED_COLOR_ARRAY;
}
-template <class, class = void>
+template <typename, typename = void>
inline constexpr bool is_vector_type_v = false;
-template <class T>
+template <typename T>
inline constexpr bool is_vector_type_v<T, std::void_t<decltype(T::AXIS_COUNT)>> = true;
template <typename T, typename P>