diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-03-29 15:58:04 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-03-29 15:58:04 +0200 |
| commit | f5304237b58c61cf2eb023d8a4c91d97c8808d33 (patch) | |
| tree | dd2190a3e88cc97b9e8075c8babcad8f7257a77a /src/output.zig | |
| parent | 9d0a41c0d2d17783e16861cce6313ebc5c713252 (diff) | |
| download | river-f5304237b58c61cf2eb023d8a4c91d97c8808d33.tar.gz river-f5304237b58c61cf2eb023d8a4c91d97c8808d33.tar.xz | |
Pass self as immutable where possible
Diffstat (limited to 'src/output.zig')
| -rw-r--r-- | src/output.zig | 2 |
1 files changed, 1 insertions, 1 deletions
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| { |
