Skip to content
Snippets Groups Projects
Commit 71e97e1a authored by Christoph Lehmann's avatar Christoph Lehmann Committed by Dmitri Naumov
Browse files

[AppL] Use l-value refs

As far as I can see, none of the method arguments are used in a way that
requires them to be passed as r-value ref. So IMHO they should be passed
in the traditional way.
parent dd4f856b
No related branches found
No related tags found
No related merge requests found
......@@ -44,9 +44,10 @@ Simulation::Simulation(int argc, char* argv[])
}
void Simulation::initializeDataStructures(
std::string&& project, std::vector<std::string>&& xml_patch_file_names,
bool const reference_path_is_set, std::string&& reference_path,
bool const nonfatal, std::string&& outdir, std::string&& mesh_dir,
std::string const& project,
std::vector<std::string> const& xml_patch_file_names,
bool const reference_path_is_set, std::string const& reference_path,
bool const nonfatal, std::string const& outdir, std::string const& mesh_dir,
bool const write_prj)
{
std::stringstream prj_stream;
......
......@@ -26,9 +26,11 @@ public:
Simulation(int argc, char* argv[]);
void initializeDataStructures(
std::string&& project, std::vector<std::string>&& xml_patch_file_names,
bool reference_path_is_set, std::string&& reference_path, bool nonfatal,
std::string&& outdir, std::string&& mesh_dir, bool write_prj);
std::string const& project,
std::vector<std::string> const& xml_patch_file_names,
bool reference_path_is_set, std::string const& reference_path,
bool nonfatal, std::string const& outdir, std::string const& mesh_dir,
bool write_prj);
bool executeSimulation();
......
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