diff --git a/simgear/structure/subsystem_mgr.hxx b/simgear/structure/subsystem_mgr.hxx index 708f2ee4..a8e99f69 100644 --- a/simgear/structure/subsystem_mgr.hxx +++ b/simgear/structure/subsystem_mgr.hxx @@ -616,8 +616,9 @@ public: class Registrant { public: - Registrant(GroupType group = GENERAL, double updateInterval = 0.0, - std::initializer_list deps = {}) + Registrant(GroupType group = GENERAL, + std::initializer_list deps = {}, + double updateInterval = 0.0) { SubsystemFactoryFunctor factory = [](){ return new T; }; SGSubsystemMgr::registerSubsystem(T::staticSubsystemClassId(), @@ -634,8 +635,8 @@ public: { public: InstancedRegistrant(GroupType group = GENERAL, - double updateInterval = 0.0, - std::initializer_list deps = {}) + std::initializer_list deps = {}, + double updateInterval = 0.0) { SubsystemFactoryFunctor factory = [](){ return new T; }; SGSubsystemMgr::registerSubsystem(T::staticSubsystemClassId(),