MCPcopy Create free account
hub / github.com/EasyRPG/Player / ~OutputStream

Method ~OutputStream

src/filesystem_stream.cpp:70–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68 std::ostream(sb), fs(std::move(fs)), name(std::move(name)) {};
69
70Filesystem_Stream::OutputStream::~OutputStream() {
71 Close();
72 if (fs) {
73 fs.ClearCache();
74 }
75}
76
77Filesystem_Stream::OutputStream::OutputStream(OutputStream&& os) noexcept : std::ostream(std::move(os)) {
78 set_rdbuf(os.rdbuf());

Callers

nothing calls this directly

Calls 1

ClearCacheMethod · 0.45

Tested by

no test coverage detected