mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:47:35 +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
|
@ -40,7 +40,7 @@ ColorLines::BitmapArray ColorLines::build_marble_color_bitmaps()
|
|||
ColorLines::BitmapArray ColorLines::build_marble_trace_bitmaps()
|
||||
{
|
||||
// Use "Paw Prints" Unicode Character (U+1F43E)
|
||||
auto trace_bitmap = NonnullRefPtr<Gfx::Bitmap>(*Gfx::Emoji::emoji_for_code_point(0x1F43E));
|
||||
auto trace_bitmap = NonnullRefPtr<Gfx::Bitmap const>(*Gfx::Emoji::emoji_for_code_point(0x1F43E));
|
||||
BitmapArray result;
|
||||
result.ensure_capacity(number_of_marble_trace_bitmaps);
|
||||
result.append(trace_bitmap);
|
||||
|
|
|
@ -47,7 +47,7 @@ private:
|
|||
void restart_timer(int milliseconds);
|
||||
|
||||
using Point = Gfx::IntPoint;
|
||||
using BitmapArray = Vector<NonnullRefPtr<Gfx::Bitmap>>;
|
||||
using BitmapArray = Vector<NonnullRefPtr<Gfx::Bitmap const>>;
|
||||
|
||||
StringView const m_app_name;
|
||||
GameState m_game_state { GameState::Idle };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue