MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / PopStr

Function PopStr

src/openrct2/command_line/sprite/SpriteCommands.cpp:183–189  ·  view source on GitHub ↗

TODO: Remove when C++20 is enabled and std::format can be used

Source from the content-addressed store, hash-verified

181
182 // TODO: Remove when C++20 is enabled and std::format can be used
183 std::string PopStr(std::ostringstream& oss)
184 {
185 auto str = oss.str();
186 oss.str("");
187 oss.clear();
188 return str;
189 }
190} // namespace OpenRCT2::CommandLine::Sprite

Callers 2

exportObjectFunction · 0.85
exportAllFunction · 0.85

Calls 1

clearMethod · 0.65

Tested by

no test coverage detected