mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
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