From 7f0dcdd280602b02e196c193f04ccd550bb0fbdd Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Wed, 7 May 2025 19:57:27 -0500 Subject: [PATCH] [nostalgia/gfx/studio/tilesheet] Cleanup --- .../tilesheeteditor/commands/palettechangecommand.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/nostalgia/modules/gfx/src/studio/tilesheeteditor/commands/palettechangecommand.cpp b/src/nostalgia/modules/gfx/src/studio/tilesheeteditor/commands/palettechangecommand.cpp index d8a6d2d2..2da6338d 100644 --- a/src/nostalgia/modules/gfx/src/studio/tilesheeteditor/commands/palettechangecommand.cpp +++ b/src/nostalgia/modules/gfx/src/studio/tilesheeteditor/commands/palettechangecommand.cpp @@ -6,14 +6,14 @@ namespace nostalgia::gfx { -gfx::PaletteChangeCommand::PaletteChangeCommand( +PaletteChangeCommand::PaletteChangeCommand( TileSheet::SubSheetIdx idx, TileSheet &img, ox::StringViewCR newPalette) noexcept: - m_img(img), - m_idx(std::move(idx)), - m_oldPalette(m_img.defaultPalette), - m_newPalette(ox::sfmt>("uuid://{}", newPalette)) { + m_img{img}, + m_idx{std::move(idx)}, + m_oldPalette{m_img.defaultPalette}, + m_newPalette{ox::sfmt>("uuid://{}", newPalette)} { } ox::Error PaletteChangeCommand::redo() noexcept {