move destructor auto bind to class_bind ctor

This commit is contained in:
BlackMATov
2023-01-11 13:40:18 +07:00
parent 09f99b005d
commit 0e2d886d45
4 changed files with 11 additions and 15 deletions

View File

@@ -62,5 +62,5 @@ TEST_CASE("meta/meta_examples/inplace") {
CHECK(ivec2_length2(ivec2_ptr) == 13);
// you must manually call the object's destructor
ivec2_type.destroy_at(ivec2_buffer.get_memory());
CHECK(ivec2_type.destroy_at(ivec2_buffer.get_memory()));
}