瀏覽代碼

Merge branch 'candidate-7.10.x' into candidate-7.12.x

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 4 年之前
父節點
當前提交
a01dbe6988
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      system/jlib/jbuff.cpp

+ 1 - 0
system/jlib/jbuff.cpp

@@ -459,6 +459,7 @@ void MemoryBuffer::swapWith(MemoryBuffer & other)
     SWAP(maxLen, other.maxLen, size32_t);
     SWAP(maxLen, other.maxLen, size32_t);
     SWAP(readPos, other.readPos, size32_t);
     SWAP(readPos, other.readPos, size32_t);
     SWAP(swapEndian, other.swapEndian, bool);
     SWAP(swapEndian, other.swapEndian, bool);
+    SWAP(ownBuffer, other.ownBuffer, bool);
 }
 }
 
 
 bool MemoryBuffer::matches(const MemoryBuffer & other) const
 bool MemoryBuffer::matches(const MemoryBuffer & other) const