From 86a46d7dc9a991313f4b56102a6246ee4048c29c Mon Sep 17 00:00:00 2001 From: weidai Date: Wed, 13 Jul 2005 02:18:50 +0000 Subject: [PATCH] fix compile on MSVC .NET 2005 --- eccrypto.cpp | 2 ++ 1 file changed, 2 insertions(+) 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)