[nostalgia/core] Cleanup
This commit is contained in:
parent
09d30acd7b
commit
231f460668
@ -101,14 +101,7 @@ struct TileSheet {
|
|||||||
name(pName), columns(pColumns), rows(pRows), pixels(std::move(pPixels)) {
|
name(pName), columns(pColumns), rows(pRows), pixels(std::move(pPixels)) {
|
||||||
}
|
}
|
||||||
|
|
||||||
constexpr SubSheet &operator=(const SubSheet &other) noexcept {
|
constexpr SubSheet &operator=(const SubSheet &other) noexcept = default;
|
||||||
name = other.name;
|
|
||||||
columns = other.columns;
|
|
||||||
rows = other.rows;
|
|
||||||
subsheets = other.subsheets;
|
|
||||||
pixels = other.pixels;
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
constexpr SubSheet &operator=(SubSheet &&other) noexcept {
|
constexpr SubSheet &operator=(SubSheet &&other) noexcept {
|
||||||
name = std::move(other.name);
|
name = std::move(other.name);
|
||||||
|
Loading…
Reference in New Issue
Block a user