diff options
author | weidai <weidai11@users.noreply.github.com> | 2006-12-14 11:41:39 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2006-12-14 11:41:39 +0000 |
commit | 4afd858ae4974f82f9997b9184bc3d8d71d29b6e (patch) | |
tree | be3960f1424e79719ea9c5f6152df003bc1c44f3 /algebra.cpp | |
parent | 0f5ff1a06380139d0e93ba7cda3923d2c41cd866 (diff) | |
download | cryptopp-git-4afd858ae4974f82f9997b9184bc3d8d71d29b6e.tar.gz |
port to Borland C++Builder 2006
Diffstat (limited to 'algebra.cpp')
-rw-r--r-- | algebra.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/algebra.cpp b/algebra.cpp index 599ea329..810a32a9 100644 --- a/algebra.cpp +++ b/algebra.cpp @@ -66,14 +66,7 @@ template <class T> const T& AbstractEuclideanDomain<T>::Gcd(const Element &a, co template <class T> const typename QuotientRing<T>::Element& QuotientRing<T>::MultiplicativeInverse(const Element &a) const { Element g[3]={m_modulus, a}; -#ifdef __BCPLUSPLUS__ - // BC++50 workaround - Element v[3]; - v[0]=m_domain.Identity(); - v[1]=m_domain.MultiplicativeIdentity(); -#else Element v[3]={m_domain.Identity(), m_domain.MultiplicativeIdentity()}; -#endif Element y; unsigned int i0=0, i1=1, i2=2; |