Skip to content

Make GooString::format return std::string by value

Rather than returning a std::unique_ptr<GooString>. This avoids one heap allocation for the result object. It also makes the code more consistent with the C++20 version of format.

The last commit depends on the earlier ones, but the others are independent from each other and can be reviewed and merged separately, if so desired.

Edited by Oliver Sander

Merge request reports