feat toml format colnum = 180
All checks were successful
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Successful in 1m30s
linux-arm-gcc / linux-gcc-armhf (push) Successful in 1m33s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (push) Successful in 1m44s
linux-x64-gcc / linux-gcc (Release) (push) Successful in 1m53s
linux-x64-gcc / linux-gcc (Debug) (push) Successful in 2m10s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Successful in 2m29s

This commit is contained in:
tqcq 2024-04-11 07:22:24 +00:00
parent 028deddf66
commit b5e5d717a9

View File

@ -17,7 +17,10 @@ std::string
Config::ToString() const Config::ToString() const
{ {
toml::value root = toml_; toml::value root = toml_;
return toml::format(root); // format(const basic_value<C, M, V>& v, std::size_t w = 80u,
// int fprec = std::numeric_limits<toml::floating>::max_digits10,
// bool no_comment = false, bool force_inline = false)
return toml::format(root, 180u);
} }
void void