From 5045a4fa3330892cb17e1e130dfffb97d5fdcb9c Mon Sep 17 00:00:00 2001 From: Aron Gabriel Date: Sat, 24 Jun 2023 13:57:57 +0800 Subject: [PATCH] use `@max` instead of `std.math.max` --- zig-ecs/src/ecs/registry.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zig-ecs/src/ecs/registry.zig b/zig-ecs/src/ecs/registry.zig index de1ad52..7d595fa 100644 --- a/zig-ecs/src/ecs/registry.zig +++ b/zig-ecs/src/ecs/registry.zig @@ -553,7 +553,7 @@ pub const Registry = struct { // update super on all owned Storages to be the max of size and their current super value inline for (owned) |t| { var storage = self.assure(t); - storage.super = std.math.max(storage.super, new_group_data.size); + storage.super = @max(storage.super, new_group_data.size); } }