From fc79efb674dab57a506e48250178db3a665000cd Mon Sep 17 00:00:00 2001
From: Simon Praetorius <simon.praetorius@tu-dresden.de>
Date: Fri, 31 Aug 2018 10:52:06 +0200
Subject: [PATCH] corrected bug with stream and ?: operator

---
 dune/vtk/pvdwriter.impl.hh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dune/vtk/pvdwriter.impl.hh b/dune/vtk/pvdwriter.impl.hh
index 8f18820..5c1a528 100644
--- a/dune/vtk/pvdwriter.impl.hh
+++ b/dune/vtk/pvdwriter.impl.hh
@@ -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";
 
-- 
GitLab