remove unnecessary param

update-fork
MITSUNARI Shigeo 4 years ago
parent e9e5f9fcf1
commit 322b90c160
  1. 4
      include/mcl/fp.hpp

@ -444,13 +444,13 @@ public:
void setLittleEndianMod(const void *buf, size_t bufSize) void setLittleEndianMod(const void *buf, size_t bufSize)
{ {
bool b; bool b;
setLittleEndianMod(&b, buf, bufSize, mcl::fp::Mod); setLittleEndianMod(&b, buf, bufSize);
if (!b) throw cybozu::Exception("setLittleEndianMod"); if (!b) throw cybozu::Exception("setLittleEndianMod");
} }
void setBigEndianMod(const void *buf, size_t bufSize) void setBigEndianMod(const void *buf, size_t bufSize)
{ {
bool b; bool b;
setBigEndianMod(&b, buf, bufSize, mcl::fp::Mod); setBigEndianMod(&b, buf, bufSize);
if (!b) throw cybozu::Exception("setBigEndianMod"); if (!b) throw cybozu::Exception("setBigEndianMod");
} }
void setByCSPRNG(fp::RandGen rg = fp::RandGen()) void setByCSPRNG(fp::RandGen rg = fp::RandGen())

Loading…
Cancel
Save