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:
ISSOtm
2022-03-05 01:27:05 +01:00
committed by Eldred Habert
parent 638d024040
commit 9262fefd07
3 changed files with 1 additions and 8 deletions

View File

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