Skip to content
Snippets Groups Projects
Commit d7b93bea authored by Elias Pipping's avatar Elias Pipping
Browse files

[Cleanup] Remove boost::format dependency

parent 62056cfa
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
#include <boost/filesystem/operations.hpp> #include <boost/filesystem/operations.hpp>
#include <boost/filesystem/path.hpp> #include <boost/filesystem/path.hpp>
#include <boost/format.hpp>
#include <dune/common/bitsetvector.hh> #include <dune/common/bitsetvector.hh>
#include <dune/common/exceptions.hh> #include <dune/common/exceptions.hh>
...@@ -72,7 +71,8 @@ Dune::ParameterTree getParameters(int argc, char *argv[], ...@@ -72,7 +71,8 @@ Dune::ParameterTree getParameters(int argc, char *argv[],
fs::path sharedParsetPath(dataDirectory / fs::path(sharedParsetName)); fs::path sharedParsetPath(dataDirectory / fs::path(sharedParsetName));
Dune::ParameterTreeParser::readINITree(sharedParsetPath.string(), parset); Dune::ParameterTreeParser::readINITree(sharedParsetPath.string(), parset);
std::string individualParsetName(str(boost::format("parset-%dD.cfg") % dims)); std::string individualParsetName =
Dune::Fufem::formatString("parset-%dD.cfg", dims);
fs::path individualParsetPath(dataDirectory / fs::path(individualParsetName)); fs::path individualParsetPath(dataDirectory / fs::path(individualParsetName));
Dune::ParameterTreeParser::readINITree(individualParsetPath.string(), parset); Dune::ParameterTreeParser::readINITree(individualParsetPath.string(), parset);
......
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