Merge branch 'develop' into high-water-mark
Conflicts: server/server_logic.cpp Finally merging the changes to develop. This is only the ConfigUtility skipping missing files, and something with the Timer class, that I'll need to test the collisions.
This commit is contained in:
@@ -27,9 +27,9 @@
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
class ConfigUtility : public Singleton<ConfigUtility> {
|
||||
class ConfigUtility: public Singleton<ConfigUtility> {
|
||||
public:
|
||||
void Load(std::string fname, int argc = 0, char* argv[] = nullptr);
|
||||
void Load(std::string fname, bool skipMissingFile = false, int argc = 0, char* argv[] = nullptr);
|
||||
|
||||
//convert to a type
|
||||
std::string& String(std::string);
|
||||
@@ -47,10 +47,7 @@ private:
|
||||
|
||||
friend Singleton<ConfigUtility>;
|
||||
|
||||
ConfigUtility() = default;
|
||||
~ConfigUtility() = default;
|
||||
|
||||
table_t Read(std::string fname);
|
||||
table_t Read(std::string fname, bool skipMissingFile);
|
||||
|
||||
table_t configMap;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user