use .string() and not .c_str() in a fmt::print call

This commit is contained in:
Stepland 2022-12-27 14:11:46 +01:00
parent 8fbdfea01c
commit 1a6edcb7f7

View File

@ -101,7 +101,7 @@ config::Config::Config(const std::filesystem::path& settings) :
} catch (const toml::parse_error& err) {
fmt::print(
"Error while parsing {} :\n{}",
config_path.c_str(),
config_path.string(),
err.what()
);
return;