mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 08:45:36 +08:00
refactor: Remove unused method
The server file is only read once and does not use the doWork/doWorkImpl() approach from CContinousWorker
This commit is contained in:
@@ -43,8 +43,6 @@ namespace swift::core::vatsim
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
void CVatsimServerFileReader::doWorkImpl() { this->read(); }
|
|
||||||
|
|
||||||
void CVatsimServerFileReader::read()
|
void CVatsimServerFileReader::read()
|
||||||
{
|
{
|
||||||
this->threadAssertCheck();
|
this->threadAssertCheck();
|
||||||
|
|||||||
@@ -48,12 +48,6 @@ namespace swift::core::vatsim
|
|||||||
void dataRead(swift::misc::network::CEntityFlags::Entity entity,
|
void dataRead(swift::misc::network::CEntityFlags::Entity entity,
|
||||||
swift::misc::network::CEntityFlags::ReadState state, int number, const QUrl &url);
|
swift::misc::network::CEntityFlags::ReadState state, int number, const QUrl &url);
|
||||||
|
|
||||||
protected:
|
|
||||||
//! \name swift::core::CThreadedReader overrides
|
|
||||||
//! @{
|
|
||||||
virtual void doWorkImpl() override;
|
|
||||||
//! @}
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
swift::misc::CData<swift::core::data::TVatsimSetup> m_lastGoodSetup { this };
|
swift::misc::CData<swift::core::data::TVatsimSetup> m_lastGoodSetup { this };
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user