diff options
Diffstat (limited to 'toolsrc/src/StatusParagraphs.cpp')
| -rw-r--r-- | toolsrc/src/StatusParagraphs.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/toolsrc/src/StatusParagraphs.cpp b/toolsrc/src/StatusParagraphs.cpp index 7d09b30e9..f41630132 100644 --- a/toolsrc/src/StatusParagraphs.cpp +++ b/toolsrc/src/StatusParagraphs.cpp @@ -57,13 +57,12 @@ namespace vcpkg return ptr; } - std::ostream& vcpkg::operator<<(std::ostream& os, const StatusParagraphs& l) + void serialize(const StatusParagraphs& pghs, std::string& out_str) { - for (auto& pgh : l.paragraphs) + for (auto& pgh : pghs.paragraphs) { - os << *pgh; - os << "\n"; + serialize(*pgh, out_str); + out_str.push_back('\n'); } - return os; } } |
