mirror of
https://github.com/opencv/opencv.git
synced 2025-06-11 03:33:28 +08:00
python: apply CV_OVERRIDE/CV_FINAL
This commit is contained in:
parent
39f15be59e
commit
25be4186bc
@ -158,7 +158,7 @@ public:
|
|||||||
return u;
|
return u;
|
||||||
}
|
}
|
||||||
|
|
||||||
UMatData* allocate(int dims0, const int* sizes, int type, void* data, size_t* step, int flags, UMatUsageFlags usageFlags) const
|
UMatData* allocate(int dims0, const int* sizes, int type, void* data, size_t* step, int flags, UMatUsageFlags usageFlags) const CV_OVERRIDE
|
||||||
{
|
{
|
||||||
if( data != 0 )
|
if( data != 0 )
|
||||||
{
|
{
|
||||||
@ -187,12 +187,12 @@ public:
|
|||||||
return allocate(o, dims0, sizes, type, step);
|
return allocate(o, dims0, sizes, type, step);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool allocate(UMatData* u, int accessFlags, UMatUsageFlags usageFlags) const
|
bool allocate(UMatData* u, int accessFlags, UMatUsageFlags usageFlags) const CV_OVERRIDE
|
||||||
{
|
{
|
||||||
return stdAllocator->allocate(u, accessFlags, usageFlags);
|
return stdAllocator->allocate(u, accessFlags, usageFlags);
|
||||||
}
|
}
|
||||||
|
|
||||||
void deallocate(UMatData* u) const
|
void deallocate(UMatData* u) const CV_OVERRIDE
|
||||||
{
|
{
|
||||||
if(!u)
|
if(!u)
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user