Skip to content
Snippets Groups Projects
Verified Commit 411112e1 authored by Liam Keegan's avatar Liam Keegan
Browse files

explicitly convert path to string

  - mingw gcc on msys will not implicitly convert std::filesystem::path to std::string
  - `cannot convert 'path' (type 'const std::filesystem::__cxx11::path') to type 'const string&' {aka 'const std::__cxx11::basic_string<char>&'}`
  - https://stackoverflow.com/a/57377681/6465472
parent 27fab1be
No related branches found
No related tags found
1 merge request!25Resolve "Add simple adaptive timestepping"
Pipeline #29331 failed
......@@ -319,7 +319,7 @@ ModelDiffusionReaction<Traits>::setup_vtk_writer()
auto writer =
std::make_shared<VTKWriter<VTKGridView>>(gfs->gridView(), Dune::VTK::conforming);
auto sequential_writer =
VTKSequenceWriter<VTKGridView>{ writer, name, path, path };
VTKSequenceWriter<VTKGridView>{ writer, name, path.string(), path.string() };
sequential_writer.setTimeSteps(timesteps);
using Predicate = PDELab::vtk::DefaultPredicate;
......
......@@ -307,7 +307,7 @@ ModelMultiDomainDiffusionReaction<Traits>::setup_vtk_writer()
auto writer = std::make_shared<VTKWriter<SubDomainGridView>>(
sub_grid_view, Dune::VTK::conforming);
auto sequential_writer = VTKSequenceWriter{ writer, name, path, path };
auto sequential_writer = VTKSequenceWriter{ writer, name, path.string(), path.string()};
sequential_writer.setTimeSteps(timesteps);
auto collector =
......
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