1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 18:37:34 +00:00

LibGfx: Make the Palette constructor take NNRP<PaletteImpl>

This commit is contained in:
Andreas Kling 2023-03-15 22:55:50 +01:00
parent 5146b9b35e
commit 5e81734520
2 changed files with 3 additions and 3 deletions

View file

@ -22,8 +22,8 @@ PaletteImpl::PaletteImpl(Core::AnonymousBuffer buffer)
{
}
Palette::Palette(PaletteImpl& impl)
: m_impl(impl)
Palette::Palette(NonnullRefPtr<PaletteImpl> impl)
: m_impl(move(impl))
{
}