Added small change to Config.h

This commit is contained in:
Unknown 2024-07-21 02:31:06 +02:00
parent 5fd1fcf7d7
commit abb143ef7c

View File

@ -115,7 +115,7 @@ public:
std::vector<std::string> GetLastErrors(); std::vector<std::string> GetLastErrors();
//See if the Config System has failed anywhere //See if the Config System has failed anywhere
bool hasConfigFailed() { return failed; }; constexpr bool hasConfigFailed() const { return failed; };
//Call when switching Configs //Call when switching Configs
bool ActivateConfig(std::string ConfigName, std::string Path); bool ActivateConfig(std::string ConfigName, std::string Path);
bool WriteToFields(); bool WriteToFields();