mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-21 10:42:07 +00:00
Fix compiling with Clang
Force version.c to be compiled as C++ (bodge, will need a proper fix for `version.c`) Remove user-defined `ProtoPalette` assignment operator (same as default, anyway)
This commit is contained in:
@@ -62,11 +62,6 @@ ProtoPalette::ComparisonResult ProtoPalette::compare(ProtoPalette const &other)
|
||||
return theyBigger ? THEY_BIGGER : (weBigger ? WE_BIGGER : NEITHER);
|
||||
}
|
||||
|
||||
ProtoPalette &ProtoPalette::operator=(ProtoPalette const &other) {
|
||||
_colorIndices = other._colorIndices;
|
||||
return *this;
|
||||
}
|
||||
|
||||
size_t ProtoPalette::size() const {
|
||||
return std::distance(begin(), end());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user