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 committed 2023-02-09 16:23:01 -08:00
1 parent b316ce6fdd
commit 8b98dd9be3
2 files changed
+2 -2

No files matched your search

+2
View File
@@ -24,6 +24,8 @@
namespace Discord
{
static bool s_using_custom_client = false;
#ifdef USE_DISCORD_PRESENCE
namespace
{
-2
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();