Add virtual destructor to TaskDispatcher.

This removes a GCC warning about that missing while virtual functions exist.
pull/260/head
leper 7 years ago
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…
Cancel
Save