From 085c5b2d0b70a2ff3d9ccf8616a7bdf4abbc957f Mon Sep 17 00:00:00 2001 From: weidai Date: Thu, 14 Dec 2006 11:41:39 +0000 Subject: port to Borland C++Builder 2006 git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@260 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- algebra.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'algebra.cpp') diff --git a/algebra.cpp b/algebra.cpp index 599ea32..810a32a 100644 --- a/algebra.cpp +++ b/algebra.cpp @@ -66,14 +66,7 @@ template const T& AbstractEuclideanDomain::Gcd(const Element &a, co template const typename QuotientRing::Element& QuotientRing::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; -- cgit v1.2.1