oh my god shut up
This commit is contained in:
parent
2cd3ace0c8
commit
4630150aff
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
using rfl::Result;
|
using rfl::Result;
|
||||||
|
|
||||||
fn Config::getInstance()->Config {
|
fn Config::getInstance() -> Config {
|
||||||
#ifdef __WIN32__
|
#ifdef __WIN32__
|
||||||
const string path = string(getenv("LOCALAPPDATA")) + "\\draconis++\\config.toml";
|
const string path = string(getenv("LOCALAPPDATA")) + "\\draconis++\\config.toml";
|
||||||
#else
|
#else
|
||||||
|
@ -17,4 +17,5 @@ fn Config::getInstance()->Config {
|
||||||
|
|
||||||
fmt::println("Failed to load config file: {}", result.error().value().what());
|
fmt::println("Failed to load config file: {}", result.error().value().what());
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue