File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,8 @@ class TypeObjectFactory
60
60
void nullify_all_entries (
61
61
const TypeIdentifier* identifier);
62
62
63
+ void create_basic_identifiers ();
64
+
63
65
void create_builtin_annotations ();
64
66
65
67
void apply_type_annotations (
Original file line number Diff line number Diff line change @@ -73,7 +73,6 @@ TypeObjectFactory* TypeObjectFactory::get_instance()
73
73
}
74
74
75
75
auto instance = new TypeObjectFactory ();
76
- instance->create_builtin_annotations ();
77
76
g_instance = instance;
78
77
g_instance_state.store (TypeObjectFactoryInstanceState::CREATED);
79
78
@@ -94,6 +93,12 @@ ReturnCode_t TypeObjectFactory::delete_instance()
94
93
}
95
94
96
95
TypeObjectFactory::TypeObjectFactory ()
96
+ {
97
+ create_basic_identifiers ();
98
+ create_builtin_annotations ();
99
+ }
100
+
101
+ void TypeObjectFactory::create_basic_identifiers ()
97
102
{
98
103
std::unique_lock<std::recursive_mutex> scoped (m_MutexIdentifiers);
99
104
// Generate basic TypeIdentifiers
You can’t perform that action at this time.
0 commit comments