[nostalgia/core] Cleanup

This commit is contained in:
Gary Talent 2023-02-01 22:46:18 -06:00
parent 09d30acd7b
commit 231f460668

View File

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