fix linker errors

This commit is contained in:
ebbit1q 2025-09-18 12:46:37 +02:00
parent cf6826dc00
commit 2a0cf45f4d
2 changed files with 5 additions and 1 deletions

View file

@ -17,6 +17,7 @@ set(common_SOURCES
passwordhasher.cpp passwordhasher.cpp
rng_abstract.cpp rng_abstract.cpp
rng_sfmt.cpp rng_sfmt.cpp
server/game/server_abstract_participant.cpp
server/game/server_arrow.cpp server/game/server_arrow.cpp
server/game/server_arrowtarget.cpp server/game/server_arrowtarget.cpp
server/game/server_card.cpp server/game/server_card.cpp

View file

@ -73,7 +73,10 @@ public:
bool _judge, bool _judge,
Server_AbstractUserInterface *_handler); Server_AbstractUserInterface *_handler);
~Server_AbstractParticipant() override; ~Server_AbstractParticipant() override;
virtual void prepareDestroy(); virtual void prepareDestroy()
{
removeFromGame();
};
void removeFromGame(); void removeFromGame();
Server_AbstractUserInterface *getUserInterface() const Server_AbstractUserInterface *getUserInterface() const
{ {