From dc511f915aed9e9ae40e8bd0dd4015061dc4d832 Mon Sep 17 00:00:00 2001 From: m Date: Wed, 21 Dec 2022 15:41:45 -0600 Subject: [PATCH] put forward declaration next to first use case --- src/client/component/party.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/component/party.cpp b/src/client/component/party.cpp index b3d6e79b..61418cb5 100644 --- a/src/client/component/party.cpp +++ b/src/client/component/party.cpp @@ -308,8 +308,6 @@ namespace party } } - bool download_files(const game::netadr_s& target, const utils::info_string& info, bool allow_download); - std::string get_whitelist_json_path() { return (utils::properties::get_appdata_path() / "whitelist.json").generic_string(); @@ -345,6 +343,8 @@ namespace party static_cast(saved_info_response.host.ip[3])); } + bool download_files(const game::netadr_s& target, const utils::info_string& info, bool allow_download); + int user_download_response(game::hks::lua_State* state) { const auto response = state->m_apistack.base[0].v.boolean;