mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-27 13:58:20 +00:00
all: more 0.17 migrations
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ const Object = struct {
|
||||
var dom: *ke.smr.Domain = undefined;
|
||||
var zone: mm.zone.Zone = undefined;
|
||||
|
||||
var slots = [_]std.atomic.Value(?*Object){.init(null)} ** nslots;
|
||||
var slots: [nslots]std.atomic.Value(?*Object) = @splat(.init(null));
|
||||
|
||||
var next_val = std.atomic.Value(u64).init(1);
|
||||
var reads = std.atomic.Value(u64).init(0);
|
||||
|
||||
Reference in New Issue
Block a user