aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2018-09-05 22:11:11 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2018-09-05 22:11:11 +0800
commitdb1e1743e2bff3e02a415e4ec2cbbd0c339df8ee (patch)
treeae7a55ff66ee053ecd0323cbb6cc2b9ad6010b93
parent9482dfd45e72f5c86cd3ed1c3d0859e11bc8234c (diff)
downloaddexon-mcl-db1e1743e2bff3e02a415e4ec2cbbd0c339df8ee.tar.gz
dexon-mcl-db1e1743e2bff3e02a415e4ec2cbbd0c339df8ee.tar.zst
dexon-mcl-db1e1743e2bff3e02a415e4ec2cbbd0c339df8ee.zip
disable dump() if CYBOZU_DONT_USE_EXCEPTION
-rw-r--r--include/mcl/gmp_util.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mcl/gmp_util.hpp b/include/mcl/gmp_util.hpp
index 8befc1d..63c8f77 100644
--- a/include/mcl/gmp_util.hpp
+++ b/include/mcl/gmp_util.hpp
@@ -710,7 +710,7 @@ public:
s = 0;
q_add_1_div_2 = 0;
}
-#ifndef CYBOZU_DONT_USE_USE_STRING
+#if !defined(CYBOZU_DONT_USE_USE_STRING) && !defined(CYBOZU_DONT_USE_EXCEPTION)
void dump() const
{
printf("\"%s\",\n", mcl::gmp::getStr(p, 16).c_str());