Base: Make Type::importModule private

This commit is contained in:
Benjamin Nauck
2025-02-24 09:31:22 +01:00
parent 0089388a5b
commit 9fbccaf4b5
2 changed files with 4 additions and 11 deletions

View File

@@ -94,7 +94,6 @@ public:
[[nodiscard]] bool canInstantiate() const;
/// Creates an instance of the named type
[[nodiscard]] static void* createInstanceByName(const char* typeName, bool loadModule = false);
static void importModule(const char* TypeName);
using instantiationMethod = void* (*)();
@@ -142,6 +141,7 @@ public:
private:
[[nodiscard]] instantiationMethod getInstantiationMethod() const;
static void importModule(const char* TypeName);
TypeId index {BadTypeIndex};