]> git.stg.codes - stg.git/blobdiff - projects/stargazer/settings_impl.h
Fix infinite loop while sending messages repeatedly
[stg.git] / projects / stargazer / settings_impl.h
index b3e0f981d70cdba09502bffff69cab744bd82ef3..c7829b274be1f35912f897b5012bca0e0dd07a90 100644 (file)
 #include <string>
 #include <vector>
 
 #include <string>
 #include <vector>
 
-#include "settings.h"
-#include "common.h"
-#include "stg_logger.h"
-#include "module_settings.h"
+#include "stg/settings.h"
+#include "stg/common.h"
+#include "stg/logger.h"
+#include "stg/module_settings.h"
 
 //-----------------------------------------------------------------------------
 enum DETAIL_STAT_PERIOD {
 
 //-----------------------------------------------------------------------------
 enum DETAIL_STAT_PERIOD {
@@ -114,7 +114,7 @@ private:
 
     //////////settings
     std::string modulesPath;
 
     //////////settings
     std::string modulesPath;
-    std::string dirName[DIR_NUM];
+    std::vector<std::string> dirName;
     std::string confDir;
     std::string        scriptsDir;
     std::string rules;
     std::string confDir;
     std::string        scriptsDir;
     std::string rules;