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);