From 66c2b7566831699bcce5bd59fbf4a4816c219a2e 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 --- trunk/c5/eccrypto.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/trunk/c5/eccrypto.cpp b/trunk/c5/eccrypto.cpp index a959781d..5c0e19af 100644 --- a/trunk/c5/eccrypto.cpp +++ b/trunk/c5/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)