This commit is contained in:
@@ -26,7 +26,7 @@ private:
|
||||
|
||||
void RegisterTypes();
|
||||
void InitializeByteCode(asIBinaryStream* stream,
|
||||
const Dictionary<ScriptCategory, Dictionary<ConstString, const char*>>& types);
|
||||
const Dictionary<ScriptCategory, Dictionary<ConstString, const char*>>& types);
|
||||
|
||||
public:
|
||||
~AngelScriptResolver() override {
|
||||
@@ -57,9 +57,9 @@ public:
|
||||
return _typeDatabase;
|
||||
}
|
||||
|
||||
asITypeInfo* GetBaseType(const ConstString& name){
|
||||
asITypeInfo* GetBaseType(const ConstString& name) {
|
||||
asITypeInfo* t = nullptr;
|
||||
if (!_baseTypes.TryGet(name, t)){
|
||||
if (!_baseTypes.TryGet(name, t)) {
|
||||
t = this->_engine->GetTypeInfoByDecl(name.c_str());
|
||||
_baseTypes.Insert(name, t);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user