Do not compare parameters when comparing ContentType

This commit is contained in:
Sylvain Berfini 2018-03-26 16:05:09 +02:00
parent 3a6fe51939
commit 75b80bbe98

View file

@ -130,8 +130,7 @@ ContentType &ContentType::operator= (const ContentType &other) {
bool ContentType::operator== (const ContentType &other) const {
return getType() == other.getType() &&
getSubType() == other.getSubType() &&
getParameters() == other.getParameters();
getSubType() == other.getSubType();
}
bool ContentType::operator!= (const ContentType &other) const {