meta: minor changes (const correctness)
This commit is contained in:
@@ -547,7 +547,7 @@ struct meta_factory<Type> {
|
||||
[](const typename internal::meta_func_node::size_type index) ENTT_NOEXCEPT {
|
||||
return meta_arg(typename descriptor::args_type{}, index);
|
||||
},
|
||||
[](meta_handle instance, meta_any *args) {
|
||||
[](meta_handle instance, meta_any * const args) {
|
||||
return meta_invoke<Type, Candidate, Policy>(std::move(instance), args, std::make_index_sequence<descriptor::args_type::size>{});
|
||||
}
|
||||
};
|
||||
|
||||
@@ -91,7 +91,7 @@ struct meta_func_node {
|
||||
const bool is_static;
|
||||
meta_type_node *(* const ret)() ENTT_NOEXCEPT;
|
||||
meta_type(* const arg)(const size_type) ENTT_NOEXCEPT;
|
||||
meta_any(* const invoke)(meta_handle, meta_any *);
|
||||
meta_any(* const invoke)(meta_handle, meta_any * const);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user