From 231f46066823fd339cac4631c60163b764d168d3 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Wed, 1 Feb 2023 22:46:18 -0600 Subject: [PATCH] [nostalgia/core] Cleanup --- src/nostalgia/core/gfx.hpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/nostalgia/core/gfx.hpp b/src/nostalgia/core/gfx.hpp index 861ca24d..7e8a2edf 100644 --- a/src/nostalgia/core/gfx.hpp +++ b/src/nostalgia/core/gfx.hpp @@ -101,14 +101,7 @@ struct TileSheet { name(pName), columns(pColumns), rows(pRows), pixels(std::move(pPixels)) { } - constexpr SubSheet &operator=(const SubSheet &other) noexcept { - name = other.name; - columns = other.columns; - rows = other.rows; - subsheets = other.subsheets; - pixels = other.pixels; - return *this; - } + constexpr SubSheet &operator=(const SubSheet &other) noexcept = default; constexpr SubSheet &operator=(SubSheet &&other) noexcept { name = std::move(other.name);