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:
explicit HeartbeatBackgroundJob(std::shared_ptr<HeartbeatThread> hbt,
double startTime)
: _heartbeatThread(hbt), _startTime(startTime) {
_schedulerInfo = SchedulerFeature::SCHEDULER->infoStatus();
: _heartbeatThread(hbt), _startTime(startTime),_schedulerInfo(SchedulerFeature::SCHEDULER->infoStatus()) {
}
void operator()() {