This commit is contained in:
aozhiwei 2023-04-28 18:06:32 +08:00
parent e870538895
commit 4564dca5a6
4 changed files with 5 additions and 5 deletions

View File

@ -133,7 +133,7 @@ namespace mt
void MetaMgr::UnInit()
{
meta_tables.clear();
}
}

View File

@ -81,7 +81,7 @@ namespace mt
template<class T>
void RegMetaTable(const std::string& dir)
{
mt::MetaTable* p = new mt::MetaTable();
std::shared_ptr<mt::MetaTable> p = std::make_shared<mt::MetaTable>();
p->static_pre_init_cb =
[] ()
{
@ -155,7 +155,7 @@ namespace mt
const std::string GetResDir() { return res_path_; }
private:
std::vector<MetaTable*> meta_tables;
std::vector<std::shared_ptr<MetaTable>> meta_tables;
std::string res_path_;
};

2
third_party/a8 vendored

@ -1 +1 @@
Subproject commit 73a4706673d6b773ca2e5cf102c45e0f2245aa5b
Subproject commit 1e577389c8a2870db9ddbf18577bfca24def049b

2
third_party/f8 vendored

@ -1 +1 @@
Subproject commit f856de73d2a3087289495690e3ea9bd7b1aa79ef
Subproject commit 243bbe515ef4a01089f9a6cf608c93d4097018de