Unverified Commit 4b8332db authored by Mathieu Stefani's avatar Mathieu Stefani Committed by GitHub

Merge pull request #145 from xoac/media_type_operator!=

Add operator!= for MediaType
parents 08de0904 3129e3f8
......@@ -211,6 +211,10 @@ inline bool operator==(const MediaType& lhs, const MediaType& rhs) {
lhs.suffix() == rhs.suffix();
}
inline bool operator!=(const MediaType& lhs, const MediaType& rhs){
return !operator==(lhs, rhs);
}
} // namespace Mime
} // namespace Http
} // namespace Pistache
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment