Skip to content

Commit ad27f8f

Browse files
committed
fix; move function definition to the correct place outside of an unrelated #ifdef
1 parent fc736b3 commit ad27f8f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/executables/game/application.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,9 @@ void Application::load_resources() {
421421
return m_discord_instance;
422422
}
423423

424+
#endif
425+
426+
424427
void Application::reload_api(const settings::Settings& settings) {
425428

426429
if (auto api_url = settings.api_url; api_url.has_value()) {
@@ -435,4 +438,3 @@ void Application::reload_api(const settings::Settings& settings) {
435438
spdlog::info("No lobby API provided");
436439
}
437440
}
438-
#endif

0 commit comments

Comments
 (0)