Przeglądaj źródła

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

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 4 lat temu
rodzic
commit
a01dbe6988
1 zmienionych plików z 1 dodań i 0 usunięć
  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(readPos, other.readPos, size32_t);
     SWAP(swapEndian, other.swapEndian, bool);
+    SWAP(ownBuffer, other.ownBuffer, bool);
 }
 
 bool MemoryBuffer::matches(const MemoryBuffer & other) const