aboutsummaryrefslogtreecommitdiffstats
path: root/sample/bls_smpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sample/bls_smpl.cpp')
-rw-r--r--sample/bls_smpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/bls_smpl.cpp b/sample/bls_smpl.cpp
index dd73ed3..f87294b 100644
--- a/sample/bls_smpl.cpp
+++ b/sample/bls_smpl.cpp
@@ -21,7 +21,7 @@ void save(const std::string& file, const T& t, const bls::Id& id = 0)
{
const std::string name = makeName(file, id);
std::ofstream ofs(name.c_str(), std::ios::binary);
- if (!(ofs << std::hex << std::showbase << t)) {
+ if (!(ofs << t)) {
throw cybozu::Exception("can't save") << name;
}
}