Skip to content

Commit 3bb3e41

Browse files
committed
merged
1 parent 06c99b7 commit 3bb3e41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

analyzeVolMesh.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ printDataStats(const double ignoreValue, GMGW_int dataSize, double* data,
223223
}
224224

225225
void
226-
writeBdryFaceConnectivity(std::fstream& output, const GMGW_int nConn,
226+
writeBdryFaceConnectivity(std::ofstream& output, const GMGW_int nConn,
227227
const GMGW_int connect[], const GMGW_int newIndex[])
228228
{
229229
output << nConn << " ";
@@ -243,7 +243,7 @@ writeSurfaceMesh(FileWrapper* wrapper, const char outputFileName[],
243243
const GMGW_int validQuads)
244244
{
245245
// Open the output file
246-
std::fstream output(outputFileName, std::ios_base::out | std::ios_base::trunc);
246+
std::ofstream output(outputFileName);
247247
assert(output);
248248
std::string nmbFilename(nmbFileName_arg);
249249

0 commit comments

Comments
 (0)