bikeshed: rename util.allocator to util.gpa

This is less typing and more clear. A definite win.
This commit is contained in:
Isaac Freund
2020-06-19 14:31:53 +02:00
parent aae89356a1
commit 12d34d4ded
18 changed files with 47 additions and 47 deletions

View File

@ -57,7 +57,7 @@ fn destroy(wl_client: ?*c.wl_client, wl_resource: ?*c.wl_resource) callconv(.C)
/// Send the current tags of each view on the output to the client.
pub fn sendViewTags(self: Self) void {
var view_tags = std.ArrayList(u32).init(util.allocator);
var view_tags = std.ArrayList(u32).init(util.gpa);
defer view_tags.deinit();
var it = ViewStack(View).iterator(self.output.views.first, std.math.maxInt(u32));