1
0
Fork 0

use initializer

This commit is contained in:
jsteemann 2017-02-01 13:03:59 +01:00
parent fae1f7ba63
commit 2383548270
1 changed files with 1 additions and 2 deletions

View File

@ -110,8 +110,7 @@ class HeartbeatBackgroundJob {
public: public:
explicit HeartbeatBackgroundJob(std::shared_ptr<HeartbeatThread> hbt, explicit HeartbeatBackgroundJob(std::shared_ptr<HeartbeatThread> hbt,
double startTime) double startTime)
: _heartbeatThread(hbt), _startTime(startTime) { : _heartbeatThread(hbt), _startTime(startTime),_schedulerInfo(SchedulerFeature::SCHEDULER->infoStatus()) {
_schedulerInfo = SchedulerFeature::SCHEDULER->infoStatus();
} }
void operator()() { void operator()() {