mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-01 10:52:19 +00:00
Make flags atomic for Entity and Type
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user