mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-04-10 13:52:38 +02: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 {
|
struct Cache {
|
||||||
uint64_t time_loaded;
|
uint64_t time_loaded;
|
||||||
RES cache;
|
RES cache;
|
||||||
|
|
||||||
|
Cache() {
|
||||||
|
time_loaded = 0;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
Map<String, Cache> cached;
|
Map<String, Cache> cached;
|
||||||
|
Loading…
Reference in New Issue
Block a user