fix Vint::getStr to clear string

dev
MITSUNARI Shigeo 6 years ago
parent 0f1d8d4415
commit b57b01832e
  1. 1
      include/mcl/vint.hpp

@ -1764,6 +1764,7 @@ public:
}
void getStr(std::string& s, int base = 10) const
{
s.clear();
cybozu::StringOutputStream os(s);
save(os, base);
}

Loading…
Cancel
Save