]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/subsystemFactory.cxx
Reset: Clear the pager queues, preserve properties.
[flightgear.git] / src / Main / subsystemFactory.cxx
index 3931a6c8ef50461712dba644b8a6c8b499a057e8..0c92aed912016d803fdaf23a9dfbfd5afacc5600 100644 (file)
@@ -209,7 +209,7 @@ do_reinit (const SGPropertyNode * arg)
     bool result = true;
 
     vector<SGPropertyNode_ptr> subsystems = arg->getChildren("subsystem");
-    if (subsystems.size() == 0) {
+    if (subsystems.empty()) {
         globals->get_subsystem_mgr()->reinit();
     } else {
         for ( unsigned int i = 0; i < subsystems.size(); i++ ) {