mirror of
https://github.com/opencv/opencv.git
synced 2024-11-26 04:00:30 +08:00
dummy commit to rerun pre-commit tests
This commit is contained in:
parent
161c3b71e6
commit
cd97d789b6
@ -597,12 +597,6 @@ void* UMat::handle(int /*accessFlags*/) const
|
||||
CV_Assert(u->refcount == 0);
|
||||
u->currAllocator->unmap(u);
|
||||
}
|
||||
/*else if( u->refcount > 0 && (accessFlags & ACCESS_WRITE) )
|
||||
{
|
||||
CV_Error(Error::StsError,
|
||||
"it's not allowed to access UMat handle for writing "
|
||||
"while it's mapped; call Mat::release() first for all its mappings");
|
||||
}*/
|
||||
return u->handle;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user