Skip to content

Commit

Permalink
Window: make several methods const
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Aug 30, 2024
1 parent b4f56ae commit e402a7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Window.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ struct Window {
Window(const Window &) = delete;
Window &operator=(const Window &) = delete;

void SetBackgroundStyle(Style style) noexcept {
void SetBackgroundStyle(Style style) const noexcept {
wbkgd(w, COLOR_PAIR(unsigned(style)));
}

void Move(Point p) noexcept {
void Move(Point p) const noexcept {
mvwin(w, p.y, p.x);
}

Expand Down

0 comments on commit e402a7e

Please sign in to comment.