Skip to content
Snippets Groups Projects
Commit 18fc6b3e authored by Anna Wellmann's avatar Anna Wellmann Committed by Henrik Asmuth
Browse files

Apply small suggestions from Anna

parent 2b568def
No related branches found
No related tags found
1 merge request!170Kernel templetization and efficiency improvements
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
// //
//! \file WbWriterVtkXmlImageBinary.cpp //! \file WbWriterVtkXmlImageBinary.cpp
//! \ingroup writer //! \ingroup writer
//! \author Soeren Freudiger, Sebastian Geller //! \author Soeren Freudiger, Sebastian Geller, Henry Korb, Henrik Asmuth
//======================================================================================= //=======================================================================================
#include <basics/utilities/UbLogger.h> #include <basics/utilities/UbLogger.h>
#include <basics/writer/WbWriterVtkXmlImageBinary.h> #include <basics/writer/WbWriterVtkXmlImageBinary.h>
......
...@@ -33,6 +33,7 @@ SPtr<TransientBCInputFileReader> createReaderForCollection(SPtr<FileCollection> ...@@ -33,6 +33,7 @@ SPtr<TransientBCInputFileReader> createReaderForCollection(SPtr<FileCollection>
return nullptr; return nullptr;
} }
} }
template<typename T> template<typename T>
std::vector<T> readStringToVector(std::string s) std::vector<T> readStringToVector(std::string s)
{ {
...@@ -45,6 +46,7 @@ std::vector<T> readStringToVector(std::string s) ...@@ -45,6 +46,7 @@ std::vector<T> readStringToVector(std::string s)
} }
return out; return out;
} }
std::string readElement(std::string line) std::string readElement(std::string line)
{ {
size_t elemStart = line.find("<")+1; size_t elemStart = line.find("<")+1;
......
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