Skip to content

Commit

Permalink
win32: fix Container.remove
Browse files Browse the repository at this point in the history
  • Loading branch information
zenith391 committed Feb 5, 2023
1 parent 60cfed7 commit 2ab0313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backends/win32/backend.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,7 @@ pub const Container = struct {
_ = win32.UpdateWindow(peer);
}

pub fn remove(self: *Container, peer: PeerType) void {
pub fn remove(self: *const Container, peer: PeerType) void {
_ = self;
_ = win32.showWindow(peer, win32.SW_HIDE);
}
Expand Down

0 comments on commit 2ab0313

Please sign in to comment.