attempt to fix pure virtual call in Mat::deallocate
This commit is contained in:
@@ -3959,8 +3959,8 @@ public:
|
||||
|
||||
MatAllocator* getOpenCLAllocator()
|
||||
{
|
||||
static OpenCLAllocator allocator;
|
||||
return &allocator;
|
||||
static MatAllocator * allocator = new OpenCLAllocator();
|
||||
return allocator;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////// Utility functions /////////////////////////////////////////////////
|
||||
|
Reference in New Issue
Block a user