fixed_typemap.hpp: reset creation index to avoid confusion

This commit is contained in:
Nekotekina 2020-02-28 00:16:04 +03:00
parent 4474757162
commit 08ab9c4b04

View file

@ -161,6 +161,9 @@ namespace stx
destroy_reporter(all_data[i].name, all_data[i].created);
all_data[i].destroy(*all_data[i].object_pointer);
}
// Reset creation order since it now may be printed
m_init_count = 0;
}
// Default initialize all objects if possible and not already initialized