chore: TMethodJob use default for deconstructor
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user