diff options
Diffstat (limited to 'src/entity.cpp')
| -rw-r--r-- | src/entity.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/entity.cpp b/src/entity.cpp index e7b888365..fb65bc3a8 100644 --- a/src/entity.cpp +++ b/src/entity.cpp @@ -115,8 +115,8 @@ enum ProcedureOptimizationMode : u32 { struct Entity { EntityKind kind; u64 id; - u64 flags; - EntityState state; + std::atomic<u64> flags; + std::atomic<EntityState> state; Token token; Scope * scope; Type * type; |