fixed crash in Python bindings
This commit is contained in:
parent
a9065b7d0c
commit
e14171fd33
@ -234,14 +234,14 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void map(UMatData* u, int accessFlags) const
|
||||
void map(UMatData*, int) const
|
||||
{
|
||||
stdAllocator->map(u, accessFlags);
|
||||
}
|
||||
|
||||
void unmap(UMatData* u) const
|
||||
{
|
||||
stdAllocator->unmap(u);
|
||||
if(u->urefcount == 0)
|
||||
deallocate(u);
|
||||
}
|
||||
|
||||
void download(UMatData* u, void* dstptr,
|
||||
|
Loading…
x
Reference in New Issue
Block a user