Fix dev warning. (#980)

This commit is contained in:
Arthur Sonzogni
2024-12-29 10:24:17 +01:00
committed by GitHub
parent 6fafa2dfed
commit f6a690a942
4 changed files with 4 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ class SelectionStyleReset : public NodeDecorator {
void Render(Screen& screen) final {
auto old_style = screen.GetSelectionStyle();
screen.SetSelectionStyle([](Pixel& pixel) {});
screen.SetSelectionStyle([](Pixel&) {});
NodeDecorator::Render(screen);
screen.SetSelectionStyle(old_style);
}