diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2021-08-16 22:16:03 +0200 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2021-08-16 22:16:03 +0200 |
| commit | 3af078e9417274ce7b6fdfa76ebd72ac26f87668 (patch) | |
| tree | 1a3b58ce02044bb1cfdfdcea03ed70c1e135f7d4 /src/entity.cpp | |
| parent | 48c1f0ab590d5f120548a212fff2c762f8818f34 (diff) | |
| parent | 19386814b3ff02914d59ecf20e40191f151d8dbe (diff) | |
Merge branch 'master' into bigint
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; |