fixed some more compile bugs (including Python bindings)

This commit is contained in:
Vadim Pisarevsky
2013-10-22 23:34:16 +04:00
parent d3076c5014
commit de521fc9fa
6 changed files with 100 additions and 51 deletions

View File

@@ -58,6 +58,7 @@ UMatData::UMatData(const MatAllocator* allocator)
size = 0;
flags = 0;
handle = 0;
userdata = 0;
}
void UMatData::lock()
@@ -554,7 +555,7 @@ Mat UMat::getMat(int accessFlags) const
return hdr;
}
void* UMat::handle(int accessFlags) const
void* UMat::handle(int /*accessFlags*/) const
{
if( !u )
return 0;