Correct atomic usage

This commit is contained in:
gingerBill
2021-08-19 17:51:19 +01:00
parent a90fe7211c
commit fa4f3aa7ad
3 changed files with 20 additions and 12 deletions

View File

@@ -250,7 +250,7 @@ bool entity_has_deferred_procedure(Entity *e) {
}
gb_global std::atomic<u64> global_entity_id = 0;
gb_global std::atomic<u64> global_entity_id;
Entity *alloc_entity(EntityKind kind, Scope *scope, Token token, Type *type) {
gbAllocator a = permanent_allocator();