mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 13:47:32 +08:00
fix GpuMat::swap method:
add swap instruction for allocator field
This commit is contained in:
parent
b33f3bb2cc
commit
e7e0da0153
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user