meta: drop unnecessary static keywords

This commit is contained in:
Michele Caini
2025-04-04 12:35:12 +02:00
parent ff32d77eba
commit fe8d7d78c4

View File

@@ -248,7 +248,7 @@ template<typename Type, typename... Args, std::size_t... Index>
* @return The meta type of the i-th element of the list of arguments.
*/
template<typename Type>
[[nodiscard]] static meta_type meta_arg(const meta_ctx &ctx, const std::size_t index) noexcept {
[[nodiscard]] meta_type meta_arg(const meta_ctx &ctx, const std::size_t index) noexcept {
auto &&context = internal::meta_context::from(ctx);
return {ctx, internal::meta_arg_node(context, Type{}, index)};
}
@@ -260,7 +260,7 @@ template<typename Type>
* @return The meta type of the i-th element of the list of arguments.
*/
template<typename Type>
[[nodiscard]] static meta_type meta_arg(const std::size_t index) noexcept {
[[nodiscard]] meta_type meta_arg(const std::size_t index) noexcept {
return meta_arg<Type>(locator<meta_ctx>::value_or(), index);
}