Fixed memleak at exit

This commit is contained in:
emeric
2020-03-08 16:56:23 +01:00
parent c1da3c5397
commit e1755342a4
+2
View File
@@ -27,6 +27,8 @@ class IConfig
{
public:
virtual ~IConfig() = default;
// Default values are returned in case of setting not found
virtual std::string getString(const std::string& setting, const std::string& def = "", const std::unordered_set<std::string>& allowedValues = {}) = 0;
virtual std::filesystem::path getPath(const std::string& setting, const std::filesystem::path& def = std::filesystem::path()) = 0;