]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/sgconfig/rsconf.cpp
Add vecotr reserve to the default constructor of SETTINGS_IMPL
[stg.git] / projects / stargazer / plugins / configuration / sgconfig / rsconf.cpp
index bc586d2db71868d6844a27782d84d8591992d936..98128832a4835df6165cc4762437b2d5502781f5 100644 (file)
@@ -26,6 +26,8 @@
 *
 *******************************************************************/
 
+#include <unistd.h> // cloase, usleep
+
 #include <cerrno>
 #include <csignal>
 #include <cstdio> // snprintf
@@ -527,7 +529,7 @@ while (li != answerList.end())
             }
         }
     k = 0;// new node
-    li++;
+    ++li;
     }
 
 if (answerList.empty()) {