Skip to content

Commit

Permalink
[Jetson JetPack 4.2 OpenCV 4.1.1]
Browse files Browse the repository at this point in the history
  • Loading branch information
supercrazysam authored Jun 1, 2020
1 parent c1ef9e6 commit d22d964
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cv_bridge/src/module_opencv3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class NumpyAllocator : public MatAllocator
return u;
}

UMatData* allocate(int dims0, const int* sizes, int type, void* data, size_t* step, int flags, UMatUsageFlags usageFlags) const
UMatData* allocate(int dims0, const int* sizes, int type, void* data, size_t* step, AccessFlag flags, UMatUsageFlags usageFlags) const
{
if( data != 0 )
{
Expand Down Expand Up @@ -136,7 +136,7 @@ class NumpyAllocator : public MatAllocator
return allocate(o, dims0, sizes, type, step);
}

bool allocate(UMatData* u, int accessFlags, UMatUsageFlags usageFlags) const
bool allocate(UMatData* u, AccessFlag accessFlags, UMatUsageFlags usageFlags) const
{
return stdAllocator->allocate(u, accessFlags, usageFlags);
}
Expand Down

0 comments on commit d22d964

Please sign in to comment.