changed: use std::to_string instead of boost::lexical_cast

This commit is contained in:
Arne Morten Kvarving
2020-02-11 13:46:13 +01:00
parent d94314d6b0
commit 2c324b606c
8 changed files with 14 additions and 25 deletions
+1 -5
View File
@@ -72,9 +72,6 @@
#include <iomanip>
#include <iostream>
#include <boost/lexical_cast.hpp>
// ------------ Specifying the solution ------------
@@ -236,8 +233,7 @@ void test_flowsolver(const GI& g, const RI& r, double tol, int kind)
Dune::VTKWriter<typename GI::GridType::LeafGridView> vtkwriter(g.grid().leafGridView());
vtkwriter.addCellData(cell_velocity_flat, "velocity", GI::GridType::dimension);
vtkwriter.addCellData(cell_pressure, "pressure");
vtkwriter.write("testsolution-" + boost::lexical_cast<std::string>(0),
Dune::VTK::ascii);
vtkwriter.write("testsolution-" + std::to_string(0), Dune::VTK::ascii);
}