From 9fbc54305d01b984e39d83e96bfa94bb17648a86 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Wed, 19 Jul 2017 08:07:05 +0900 Subject: [PATCH] avoid _P because it is defined in android --- include/mcl/bn.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/mcl/bn.hpp b/include/mcl/bn.hpp index fb9f2c6..b24877c 100644 --- a/include/mcl/bn.hpp +++ b/include/mcl/bn.hpp @@ -457,9 +457,9 @@ struct GLV2 { void mul(G2& Q, const G2& P, mpz_class x, bool constTime = false) const { typedef AddFrobenius G2withF; - G2withF& _Q(static_cast(Q)); - const G2withF& _P(static_cast(P)); - mul(_Q, _P, x, constTime); + G2withF& QQ(static_cast(Q)); + const G2withF& PP(static_cast(P)); + mul(QQ, PP, x, constTime); } void pow(Fp12& z, const Fp12& x, mpz_class y, bool constTime = false) const {