Add missing destructors to os thread classes

Change-Id: If1d513fbeaa2b1d7a353f3321f992a16e8f3a80e
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2020-05-13 14:09:07 +02:00
parent bd9fe606f2
commit f3cb94c491
2 changed files with 2 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ class ThreadLinux : public Thread {
public:
ThreadLinux(pthread_t threadId);
void join() override;
~ThreadLinux() override = default;
protected:
pthread_t threadId;

View File

@@ -14,6 +14,7 @@ class ThreadWin : public Thread {
public:
ThreadWin(std::thread *thread);
void join() override;
~ThreadWin() override = default;
protected:
std::unique_ptr<std::thread> thread;