diff --git a/include/mcl/vint.hpp b/include/mcl/vint.hpp index 948c9c7..242e27b 100644 --- a/include/mcl/vint.hpp +++ b/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); }