dummy commit to rerun pre-commit tests

This commit is contained in:
Vadim Pisarevsky 2013-12-02 22:15:07 +04:00
parent 161c3b71e6
commit cd97d789b6

View File

@ -597,12 +597,6 @@ void* UMat::handle(int /*accessFlags*/) const
CV_Assert(u->refcount == 0); CV_Assert(u->refcount == 0);
u->currAllocator->unmap(u); 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; return u->handle;
} }