Skip to content
Snippets Groups Projects
Commit fc79efb6 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

corrected bug with stream and ?: operator

parent dbdb6587
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@ void PvdWriter<W>
out << "<VTKFile"
<< " type=\"Collection\""
<< " version=\"0.1\""
<< (format_ != Vtk::ASCII ? " byte_order=\"" << vtkWriter_.getEndian() << "\"" : "")
<< (format_ != Vtk::ASCII ? " byte_order=\"" + vtkWriter_.getEndian() + "\"" : "")
<< (format_ == Vtk::COMPRESSED ? " compressor=\"vtkZLibDataCompressor\"" : "")
<< ">\n";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment