diff --git a/src/mergerfs_webui.cpp b/src/mergerfs_webui.cpp index 5ddfca08..4feced27 100644 --- a/src/mergerfs_webui.cpp +++ b/src/mergerfs_webui.cpp @@ -254,7 +254,8 @@ _post_kvs(const httplib::Request &req_, for(const auto &[key,val] : j.items()) { - std::cout << "mount=" << mount << " | " << key << ": " << val.string() << std::endl; + std::cout << "mount=" << mount << " | " + << key << ": " << (std::string)val << std::endl; } res_.set_content("{}", "application/json");