Commit e7e0da01 authored by Vladislav Vinogradov's avatar Vladislav Vinogradov

fix GpuMat::swap method:

add swap instruction for allocator field
parent b33f3bb2
...@@ -147,6 +147,7 @@ void GpuMat::swap(GpuMat& b) ...@@ -147,6 +147,7 @@ void GpuMat::swap(GpuMat& b)
std::swap(datastart, b.datastart); std::swap(datastart, b.datastart);
std::swap(dataend, b.dataend); std::swap(dataend, b.dataend);
std::swap(refcount, b.refcount); std::swap(refcount, b.refcount);
std::swap(allocator, b.allocator);
} }
inline inline
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment