chore: TMethodJob use default for deconstructor

This commit is contained in:
sithlord48
2025-05-01 08:59:03 -04:00
committed by Nick Bolton
parent f68744a36d
commit c8d4a2186a

View File

@ -18,7 +18,7 @@ template <class T> class TMethodJob : public IJob
public:
//! run() invokes \c object->method(arg)
TMethodJob(T *object, void (T::*method)(void *), void *arg = nullptr);
~TMethodJob() override;
~TMethodJob() override = default;
// IJob overrides
void run() override;
@ -38,11 +38,6 @@ inline TMethodJob<T>::TMethodJob(T *object, void (T::*method)(void *), void *arg
// do nothing
}
template <class T> inline TMethodJob<T>::~TMethodJob()
{
// do nothing
}
template <class T> inline void TMethodJob<T>::run()
{
if (m_object != nullptr) {