PLease confirm mMajorityTime represents seconds. And if it does, change the type to std::chrono::seconds.