mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-22 03:46:50 +01:00
Fix EditorScriptCodeCompletionCache::Cache::time_loaded may be used uninitialized error.
This commit is contained in:
parent
f8e54698e4
commit
c545717186
@ -75,6 +75,10 @@ class EditorScriptCodeCompletionCache : public ScriptCodeCompletionCache {
|
||||
struct Cache {
|
||||
uint64_t time_loaded;
|
||||
RES cache;
|
||||
|
||||
Cache() {
|
||||
time_loaded = 0;
|
||||
}
|
||||
};
|
||||
|
||||
Map<String, Cache> cached;
|
||||
|
Loading…
Reference in New Issue
Block a user