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