Fix build error compiling with Discord support
[skip ci]
This commit is contained in:
parent
cd23817bf1
commit
4534172c2f
@ -81,7 +81,7 @@ void PcP2PNetworkingService::setJoinRemote(HostAddressWithPort location) {
|
|||||||
setJoinLocation(JoinRemote(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
|
#ifdef STAR_ENABLE_DISCORD_INTEGRATION
|
||||||
MutexLocker discordLocker(m_state->discordMutex);
|
MutexLocker discordLocker(m_state->discordMutex);
|
||||||
#endif
|
#endif
|
||||||
|
@ -98,7 +98,7 @@ void PcPlatformServicesState::onGameOverlayActivated(GameOverlayActivated_t* cal
|
|||||||
}
|
}
|
||||||
#endif
|
#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);
|
auto services = unique_ptr<PcPlatformServices>(new PcPlatformServices);
|
||||||
|
|
||||||
services->m_state = make_shared<PcPlatformServicesState>();
|
services->m_state = make_shared<PcPlatformServicesState>();
|
||||||
|
Loading…
Reference in New Issue
Block a user