get_ctors -> get_constructors

This commit is contained in:
BlackMATov
2022-02-14 16:49:40 +07:00
parent bbcbebd76e
commit 836b404a70
4 changed files with 10 additions and 10 deletions

View File

@@ -54,7 +54,7 @@ TEST_CASE("meta/meta_utilities/hash") {
const meta::class_type ivec2_type = meta::resolve_type<ivec2>();
const meta::constructor ivec2_ctor = ivec2_type.get_constructor_with<int>();
const meta::destructor ivec2_dtor = ivec2_type.get_dtors().begin()->second;
const meta::destructor ivec2_dtor = ivec2_type.get_destructors().begin()->second;
const meta::function ivec2_function = ivec2_type.get_function("iadd");
const meta::argument ivec2_function_arg = ivec2_function.get_argument(0);
const meta::member ivec2_member = ivec2_type.get_member("x");