Move s_using_custom_client to DiscordPresence.cpp

Otherwise, files that include the header get warning: ‘Discord::s_using_custom_client’ defined but not used.
This commit is contained in:
Pokechu22 2023-02-02 14:48:14 -08:00
parent b316ce6fdd
commit 8b98dd9be3
2 changed files with 2 additions and 2 deletions

View File

@ -24,6 +24,8 @@
namespace Discord
{
static bool s_using_custom_client = false;
#ifdef USE_DISCORD_PRESENCE
namespace
{

View File

@ -27,8 +27,6 @@ enum class SecretType
RoomID,
};
static bool s_using_custom_client = false;
void Init();
void InitNetPlayFunctionality(Handler& handler);
void CallPendingCallbacks();