mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-05 19:56:18 +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:
1 parent
638d024040
commit
9262fefd07
3 files changed
+1
-8
No files matched your search
@@ -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