From f5304237b58c61cf2eb023d8a4c91d97c8808d33 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Sun, 29 Mar 2020 15:58:04 +0200 Subject: Pass self as immutable where possible --- src/output.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/output.zig') diff --git a/src/output.zig b/src/output.zig index 12fcdc3..25b030d 100644 --- a/src/output.zig +++ b/src/output.zig @@ -107,7 +107,7 @@ pub const Output = struct { _ = c.wlr_output_commit(output.wlr_output); } - fn renderView(self: *Self, view: *View, now: *c.struct_timespec) void { + fn renderView(self: Self, view: *View, now: *c.struct_timespec) void { // If we have a stashed buffer, we are in the middle of a transaction // and need to render that buffer until the transaction is complete. if (view.stashed_buffer) |buffer| { -- cgit v1.2.3