mirror of https://gitee.com/bigwinds/arangodb
use initializer
This commit is contained in:
parent
fae1f7ba63
commit
2383548270
|
@ -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()() {
|
||||
|
|
Loading…
Reference in New Issue