fix GpuMat::swap method:
add swap instruction for allocator field
This commit is contained in:
@@ -147,6 +147,7 @@ void GpuMat::swap(GpuMat& b)
|
||||
std::swap(datastart, b.datastart);
|
||||
std::swap(dataend, b.dataend);
|
||||
std::swap(refcount, b.refcount);
|
||||
std::swap(allocator, b.allocator);
|
||||
}
|
||||
|
||||
inline
|
||||
|
||||
Reference in New Issue
Block a user