Skip to content
Snippets Groups Projects
Commit 07dc625e authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

SimDataPair: default move c'tor

parent d2fe20a3
No related branches found
No related tags found
1 merge request!1364normalize copy c'tors; simplify coord system c'tors (require ki only where needed)
......@@ -108,19 +108,6 @@ SimDataPair::SimDataPair(simulation_builder_t builder, const Datafield& raw_data
validate();
}
SimDataPair::SimDataPair(SimDataPair&& other)
: m_simulation_builder(std::move(other.m_simulation_builder))
, m_sim_data(std::move(other.m_sim_data))
, m_exp_data(std::move(other.m_exp_data))
, m_uncertainties(std::move(other.m_uncertainties))
, m_user_weights(std::move(other.m_user_weights))
, m_raw_data(std::move(other.m_raw_data))
, m_raw_uncertainties(std::move(other.m_raw_uncertainties))
, m_raw_user_weights(std::move(other.m_raw_user_weights))
{
validate();
}
SimDataPair::~SimDataPair() = default;
void SimDataPair::execSimulation(const mumufit::Parameters& params)
......
......@@ -33,7 +33,7 @@ public:
SimDataPair(simulation_builder_t builder, const Datafield& raw_data,
std::unique_ptr<Datafield>&& raw_stdv, std::unique_ptr<Datafield>&& user_weights);
SimDataPair(SimDataPair&& other);
SimDataPair(SimDataPair&& other) = default;
~SimDataPair();
......
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