chore: FunctionJob, use default for deconstructor

This commit is contained in:
sithlord48 2025-04-30 21:58:33 -04:00 committed by Nick Bolton
parent 7d27031723
commit 0bfb95996a
2 changed files with 1 additions and 6 deletions

View file

@ -16,11 +16,6 @@ FunctionJob::FunctionJob(void (*func)(void *), void *arg) : m_func(func), m_arg(
// do nothing
}
FunctionJob::~FunctionJob()
{
// do nothing
}
void FunctionJob::run()
{
if (m_func != nullptr) {

View file

@ -18,7 +18,7 @@ class FunctionJob : public IJob
public:
//! run() invokes \c func(arg)
FunctionJob(void (*func)(void *), void *arg = nullptr);
~FunctionJob() override;
~FunctionJob() override = default;
// IJob overrides
void run() override;