bikeshed: rename util.allocator to util.gpa
This is less typing and more clear. A definite win.
This commit is contained in:
@ -95,7 +95,7 @@ pub fn deinit(self: *Self) void {
|
||||
|
||||
pub fn addOutput(self: *Self, wlr_output: *c.wlr_output) void {
|
||||
// TODO: Handle failure
|
||||
const node = self.outputs.allocateNode(util.allocator) catch unreachable;
|
||||
const node = self.outputs.allocateNode(util.gpa) catch unreachable;
|
||||
node.data.init(self, wlr_output) catch unreachable;
|
||||
self.outputs.append(node);
|
||||
|
||||
|
Reference in New Issue
Block a user