diff --git a/src/main.cpp b/src/main.cpp index 36a8aa6..f29beb7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -121,8 +121,8 @@ EXTERN_C [[maybe_unused]] __declspec(dllexport) constinit auto SKSEPlugin_Versio return v; }(); -EXTERN_C [[maybe_unused]] __declspec(dllexport) bool SKSEAPI SKSEPlugin_Query(const SKSE::QueryInterface* a_skse, - SKSE::PluginInfo* pluginInfo) { +EXTERN_C [[maybe_unused]] __declspec(dllexport) bool SKSEAPI + SKSEPlugin_Query(const SKSE::QueryInterface* a_skse, SKSE::PluginInfo* pluginInfo) { pluginInfo->name = SKSEPlugin_Version.pluginName; pluginInfo->infoVersion = SKSE::PluginInfo::kVersion; pluginInfo->version = SKSEPlugin_Version.pluginVersion; diff --git a/src/setting/config_setting.h b/src/setting/config_setting.h index b482783..0562240 100644 --- a/src/setting/config_setting.h +++ b/src/setting/config_setting.h @@ -22,8 +22,8 @@ namespace setting { void load_all_thane_setting_files(); void load_all_player_setting_files(); - menu_data::menu_type get_next_menu_type(menu_data::menu_type a_menu); - menu_data::menu_type get_previous_menu_type(menu_data::menu_type a_menu); + [[maybe_unused]] menu_data::menu_type get_next_menu_type(menu_data::menu_type a_menu); + [[maybe_unused]] menu_data::menu_type get_previous_menu_type(menu_data::menu_type a_menu); std::string get_next_menu_name(menu_data::menu_type a_menu); std::string get_previous_menu_name(menu_data::menu_type a_menu); std::map get_faction_data();