chore: TMethodJob use default for deconstructor
This commit is contained in:
parent
f68744a36d
commit
c8d4a2186a
1 changed files with 1 additions and 6 deletions
|
|
@ -18,7 +18,7 @@ template <class T> class TMethodJob : public IJob
|
||||||
public:
|
public:
|
||||||
//! run() invokes \c object->method(arg)
|
//! run() invokes \c object->method(arg)
|
||||||
TMethodJob(T *object, void (T::*method)(void *), void *arg = nullptr);
|
TMethodJob(T *object, void (T::*method)(void *), void *arg = nullptr);
|
||||||
~TMethodJob() override;
|
~TMethodJob() override = default;
|
||||||
|
|
||||||
// IJob overrides
|
// IJob overrides
|
||||||
void run() override;
|
void run() override;
|
||||||
|
|
@ -38,11 +38,6 @@ inline TMethodJob<T>::TMethodJob(T *object, void (T::*method)(void *), void *arg
|
||||||
// do nothing
|
// do nothing
|
||||||
}
|
}
|
||||||
|
|
||||||
template <class T> inline TMethodJob<T>::~TMethodJob()
|
|
||||||
{
|
|
||||||
// do nothing
|
|
||||||
}
|
|
||||||
|
|
||||||
template <class T> inline void TMethodJob<T>::run()
|
template <class T> inline void TMethodJob<T>::run()
|
||||||
{
|
{
|
||||||
if (m_object != nullptr) {
|
if (m_object != nullptr) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue