Formatted includes/json_handling

This commit is contained in:
Aaron Po
2026-07-19 04:10:32 -04:00
parent ffabd85b6d
commit 969125e3a5

View File

@@ -39,7 +39,8 @@ inline void PrettyPrint(std::ostream& outstream,
if (!obj.empty()) { if (!obj.empty()) {
const auto* iter = obj.begin(); const auto* iter = obj.begin();
for (;;) { for (;;) {
outstream << *indent << boost::json::serialize(iter->key()) << " : "; outstream << *indent << boost::json::serialize(iter->key())
<< " : ";
PrettyPrint(outstream, iter->value(), indent); PrettyPrint(outstream, iter->value(), indent);
iter = std::next(iter); iter = std::next(iter);
if (iter == obj.end()) { if (iter == obj.end()) {