mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:38:11 +00:00
Userland: Fix remaining smart pointer const-correctness issues
This commit is contained in:
parent
faa1a09042
commit
33e87d1627
17 changed files with 23 additions and 23 deletions
|
@ -421,7 +421,7 @@ Chess::Square ChessWidget::mouse_to_square(GUI::MouseEvent& event) const
|
|||
}
|
||||
}
|
||||
|
||||
RefPtr<Gfx::Bitmap> ChessWidget::get_piece_graphic(Chess::Piece const& piece) const
|
||||
RefPtr<Gfx::Bitmap const> ChessWidget::get_piece_graphic(Chess::Piece const& piece) const
|
||||
{
|
||||
return m_pieces.get(piece).value();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue