diff --git a/src/TConfig.cpp b/src/TConfig.cpp index a41cf18..66bcd2b 100644 --- a/src/TConfig.cpp +++ b/src/TConfig.cpp @@ -241,7 +241,7 @@ void TConfig::TryReadValue(toml::value& Table, const std::string& Category, cons void TConfig::ParseFromFile(std::string_view name) { try { toml::value data {}; - if (!mDisableConfig) { // todo: rename mDisableCofig to configEnabled + if (!mDisableConfig) { data = toml::parse(name.data()); }