Skip to content

Commit

Permalink
#413 Code smells fix
Browse files Browse the repository at this point in the history
Signed-off-by: Dimitri Baron <[email protected]>
  • Loading branch information
barondim committed Jul 11, 2024
1 parent d93be8e commit 484a12b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions sources/Common/DYNSimulationResult.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,19 @@ class SimulationResult {
*/
SimulationResult& operator=(const SimulationResult& result);

/**
* @brief move constructor
* @param result : result to move
*/
SimulationResult(SimulationResult&& result) = default;

/**
* @brief move operator
* @param result result to move
* @return new instance of simulationResult
*/
SimulationResult& operator=(SimulationResult&& result) = default;

/**
* @brief set the id of the scenario
* @param id id of the scenario
Expand Down

0 comments on commit 484a12b

Please sign in to comment.