diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-02-29 14:33:39 +1100 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-02-29 14:33:39 +1100 |
commit | 4534172c2f49fb670b173b3d77a1588abba2431d (patch) | |
tree | b2d7e0f44ed73011c860f27cc5ae71db5793c592 /source/application | |
parent | cd23817bf1884fee4457ab3381320b0c8fc33f48 (diff) |
Fix build error compiling with Discord support
[skip ci]
Diffstat (limited to 'source/application')
-rw-r--r-- | source/application/StarP2PNetworkingService_pc.cpp | 2 | ||||
-rw-r--r-- | source/application/StarPlatformServices_pc.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/application/StarP2PNetworkingService_pc.cpp b/source/application/StarP2PNetworkingService_pc.cpp index 5bb99f9..66ef6b8 100644 --- a/source/application/StarP2PNetworkingService_pc.cpp +++ b/source/application/StarP2PNetworkingService_pc.cpp @@ -81,7 +81,7 @@ void PcP2PNetworkingService::setJoinRemote(HostAddressWithPort location) { setJoinLocation(JoinRemote(location)); } -void Star::PcP2PNetworkingService::setActivityData(String const&, Maybe<pair<uint16_t, uint16_t>>) { +void Star::PcP2PNetworkingService::setActivityData([[maybe_unused]] String const& title, [[maybe_unused]] Maybe<pair<uint16_t, uint16_t>> party) { #ifdef STAR_ENABLE_DISCORD_INTEGRATION MutexLocker discordLocker(m_state->discordMutex); #endif diff --git a/source/application/StarPlatformServices_pc.cpp b/source/application/StarPlatformServices_pc.cpp index 9470201..433d2da 100644 --- a/source/application/StarPlatformServices_pc.cpp +++ b/source/application/StarPlatformServices_pc.cpp @@ -98,7 +98,7 @@ void PcPlatformServicesState::onGameOverlayActivated(GameOverlayActivated_t* cal } #endif -PcPlatformServicesUPtr PcPlatformServices::create(String const&, StringList platformArguments) { +PcPlatformServicesUPtr PcPlatformServices::create([[maybe_unused]] String const& path, StringList platformArguments) { auto services = unique_ptr<PcPlatformServices>(new PcPlatformServices); services->m_state = make_shared<PcPlatformServicesState>(); |