MCPcopy Create free account
hub / github.com/PDAL/PDAL / FileStreamDeleter

Class FileStreamDeleter

io/TextWriter.cpp:84–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84struct FileStreamDeleter
85{
86
87 template <typename T>
88 void operator()(T* ptr)
89 {
90 if (ptr)
91 {
92 ptr->flush();
93 Utils::closeFile(ptr);
94 }
95 }
96};
97
98
99void TextWriter::addArgs(ProgramArgs& args)

Callers 1

readyMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected