From 9768490c3be07d84b03cb0723da5e4e2c8e79a70 Mon Sep 17 00:00:00 2001 From: Geoffrey Merck Date: Sun, 26 Dec 2021 17:47:07 +0100 Subject: [PATCH] Clean up --- APRSWriterThread.cpp | 2 ++ APRSWriterThread.h | 10 +++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/APRSWriterThread.cpp b/APRSWriterThread.cpp index aa92e97..d8d70d5 100644 --- a/APRSWriterThread.cpp +++ b/APRSWriterThread.cpp @@ -31,6 +31,7 @@ const unsigned int APRS_TIMEOUT = 10U; CAPRSWriterThread::CAPRSWriterThread(const std::string& callsign, const std::string& password, const std::string& address, const std::string& hostname, unsigned int port) : +CThread(), m_username(callsign), m_password(password), m_ssid(callsign), @@ -57,6 +58,7 @@ m_clientName("ircDDBGateway") } CAPRSWriterThread::CAPRSWriterThread(const std::string& callsign, const std::string& password, const std::string& address, const std::string& hostname, unsigned int port, const std::string& filter, const std::string& clientName) : +CThread(), m_username(callsign), m_password(password), m_ssid(callsign), diff --git a/APRSWriterThread.h b/APRSWriterThread.h index 4cbb8f9..aa07af2 100644 --- a/APRSWriterThread.h +++ b/APRSWriterThread.h @@ -32,15 +32,15 @@ public: CAPRSWriterThread(const std::string& callsign, const std::string& password, const std::string& address, const std::string& hostname, unsigned int port, const std::string& filter, const std::string& clientName); virtual ~CAPRSWriterThread(); - virtual bool start(); + bool start(); - virtual bool isConnected() const; + bool isConnected() const; - virtual void write(const char* data); + void write(const char* data); - virtual void* Entry(); + void* Entry(); - virtual void stop(); + void stop(); void clock(unsigned int ms);