Commit cd97d789 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

dummy commit to rerun pre-commit tests

parent 161c3b71
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment