aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/StatusParagraphs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'toolsrc/src/StatusParagraphs.cpp')
-rw-r--r--toolsrc/src/StatusParagraphs.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/toolsrc/src/StatusParagraphs.cpp b/toolsrc/src/StatusParagraphs.cpp
index 59e6ee331..132b7d5d4 100644
--- a/toolsrc/src/StatusParagraphs.cpp
+++ b/toolsrc/src/StatusParagraphs.cpp
@@ -59,13 +59,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;
}
}