diff --git a/include/sporks/stringops.h b/include/sporks/stringops.h index f288218..681b8db 100644 --- a/include/sporks/stringops.h +++ b/include/sporks/stringops.h @@ -21,6 +21,7 @@ ************************************************************************************/ #pragma once +#include #include #include #include diff --git a/modules/trivia/settings.h b/modules/trivia/settings.h index b61f374..0dfbb19 100644 --- a/modules/trivia/settings.h +++ b/modules/trivia/settings.h @@ -24,6 +24,7 @@ #include #include +#include class guild_settings_t { diff --git a/modules/trivia/state.cpp b/modules/trivia/state.cpp index f7d069c..92abeae 100644 --- a/modules/trivia/state.cpp +++ b/modules/trivia/state.cpp @@ -416,7 +416,7 @@ void state_t::tick() do_end_game(settings); break; default: - creator->GetBot()->core->log(dpp::ll_warning, fmt::format("Invalid state '{}', ending round.", gamestate)); + creator->GetBot()->core->log(dpp::ll_warning, fmt::format("Invalid state '{}', ending round.", (uint32_t)gamestate)); gamestate = TRIV_END; terminating = true; break;