diff --git a/eccrypto.cpp b/eccrypto.cpp index a959781d..5c0e19af 100644 --- a/eccrypto.cpp +++ b/eccrypto.cpp @@ -105,6 +105,8 @@ struct OIDLessThan inline bool operator()(const EcRecommendedParameters& a, const OID& b) {return a.oid < b;} template inline bool operator()(const OID& a, const EcRecommendedParameters& b) {return a < b.oid;} + template + inline bool operator()(const EcRecommendedParameters& a, const EcRecommendedParameters& b) {return a.oid < b.oid;} }; static void GetRecommendedParameters(const EcRecommendedParameters *&begin, const EcRecommendedParameters *&end)