Merge pull request #260 from leper/master

Add virtual destructor to TaskDispatcher.
This commit is contained in:
Ignacio 2017-06-06 17:57:01 -07:00 committed by GitHub
commit 7849ee9e71

View File

@ -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;
};