diff --git a/toml/serializer.hpp b/toml/serializer.hpp index d7987c0..88ae775 100644 --- a/toml/serializer.hpp +++ b/toml/serializer.hpp @@ -833,7 +833,7 @@ format(const basic_value& v, std::size_t w = 80u, oss << v.comments(); oss << '\n'; // to split the file comment from the first element } - const auto serialized = visit(serializer(w, fprec, no_comment, false), v); + const auto serialized = visit(serializer(w, fprec, false, no_comment), v); oss << serialized; return oss.str(); }