fix GpuMat::swap method:

add swap instruction for allocator field
pull/3531/head
Vladislav Vinogradov 10 years ago
parent b33f3bb2cc
commit e7e0da0153
  1. 1
      modules/core/include/opencv2/core/cuda.inl.hpp

@ -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…
Cancel
Save