From 4630150aff81bd061197560b03f2389f31f88761 Mon Sep 17 00:00:00 2001 From: pupbrained Date: Tue, 25 Jun 2024 21:39:52 -0400 Subject: [PATCH] oh my god shut up --- src/config/config.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 +} +