diff --git a/src/config/config.cpp b/src/config/config.cpp index 2735460..80fcd65 100644 --- a/src/config/config.cpp +++ b/src/config/config.cpp @@ -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 {}; -} \ No newline at end of file +} +