summaryrefslogtreecommitdiff
path: root/eccrypto.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2005-07-13 02:18:50 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2005-07-13 02:18:50 +0000
commitcc88cce09d781589775287b1da37f8bd0c7e001a (patch)
tree74e97d4c5d5a79a4fa6fe97d5e71fbd4a0af1c84 /eccrypto.cpp
parentfb51ee2001713ba1005884c68ca821c4c6008450 (diff)
downloadcryptopp-cc88cce09d781589775287b1da37f8bd0c7e001a.tar.gz
fix compile on MSVC .NET 2005
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@200 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'eccrypto.cpp')
-rw-r--r--eccrypto.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/eccrypto.cpp b/eccrypto.cpp
index a959781..5c0e19a 100644
--- a/eccrypto.cpp
+++ b/eccrypto.cpp
@@ -105,6 +105,8 @@ struct OIDLessThan
inline bool operator()(const EcRecommendedParameters<T>& a, const OID& b) {return a.oid < b;}
template <typename T>
inline bool operator()(const OID& a, const EcRecommendedParameters<T>& b) {return a < b.oid;}
+ template <typename T>
+ inline bool operator()(const EcRecommendedParameters<T>& a, const EcRecommendedParameters<T>& b) {return a.oid < b.oid;}
};
static void GetRecommendedParameters(const EcRecommendedParameters<EC2N> *&begin, const EcRecommendedParameters<EC2N> *&end)