summaryrefslogtreecommitdiff
path: root/eccrypto.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2005-07-13 02:18:50 +0000
committerweidai <weidai11@users.noreply.github.com>2005-07-13 02:18:50 +0000
commit86a46d7dc9a991313f4b56102a6246ee4048c29c (patch)
tree74e97d4c5d5a79a4fa6fe97d5e71fbd4a0af1c84 /eccrypto.cpp
parent9cd298bc8beb482c03331b8d3569439965b74c2f (diff)
downloadcryptopp-git-86a46d7dc9a991313f4b56102a6246ee4048c29c.tar.gz
fix compile on MSVC .NET 2005
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 a959781d..5c0e19af 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)