mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05: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()
|
||||
{
|
||||
this->threadAssertCheck();
|
||||
|
||||
@@ -48,12 +48,6 @@ namespace swift::core::vatsim
|
||||
void dataRead(swift::misc::network::CEntityFlags::Entity entity,
|
||||
swift::misc::network::CEntityFlags::ReadState state, int number, const QUrl &url);
|
||||
|
||||
protected:
|
||||
//! \name swift::core::CThreadedReader overrides
|
||||
//! @{
|
||||
virtual void doWorkImpl() override;
|
||||
//! @}
|
||||
|
||||
private:
|
||||
swift::misc::CData<swift::core::data::TVatsimSetup> m_lastGoodSetup { this };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user