fix GpuMat::swap method:

add swap instruction for allocator field
This commit is contained in:
Vladislav Vinogradov 2014-12-23 11:19:11 +03:00
parent b33f3bb2cc
commit e7e0da0153

View File

@ -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