Skip to content
Snippets Groups Projects
Commit fdb842c4 authored by Lukas Werner's avatar Lukas Werner
Browse files

Use std::move in constructor of SubCyclingManager

parent 7340d92a
Branches
Tags
No related merge requests found
...@@ -21,11 +21,13 @@ ...@@ -21,11 +21,13 @@
#include "SubCyclingManager.h" #include "SubCyclingManager.h"
#include <utility>
namespace walberla { namespace walberla {
namespace lbm_mesapd_coupling { namespace lbm_mesapd_coupling {
SubCyclingManager::SubCyclingManager(size_t numberOfSubCycles, shared_ptr<WcTimingPool> timingPool) SubCyclingManager::SubCyclingManager(size_t numberOfSubCycles, shared_ptr<WcTimingPool> timingPool)
: numberOfSubCycles_(numberOfSubCycles), timingPool_(timingPool), currentTimeStep_(0) {} : numberOfSubCycles_(numberOfSubCycles), timingPool_(std::move(timingPool)), currentTimeStep_(0) {}
void SubCyclingManager::operator()() { void SubCyclingManager::operator()() {
executeBeforeFunctions(); executeBeforeFunctions();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment