Add virtual destructor to TaskDispatcher.
This removes a GCC warning about that missing while virtual functions exist.
This commit is contained in:
parent
e85d851cd9
commit
78054e977b
@ -380,6 +380,8 @@ namespace nvtt
|
||||
// (New in NVTT 2.1)
|
||||
struct TaskDispatcher
|
||||
{
|
||||
virtual ~TaskDispatcher() {}
|
||||
|
||||
virtual void dispatch(Task * task, void * context, int count) = 0;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user