瀏覽代碼

operator =

David Rose 20 年之前
父節點
當前提交
9164535479
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      panda/src/putil/bitArray.I

+ 1 - 0
panda/src/putil/bitArray.I

@@ -60,6 +60,7 @@ BitArray(const BitArray &copy) :
 INLINE void BitArray::
 INLINE void BitArray::
 operator = (const BitArray &copy) {
 operator = (const BitArray &copy) {
   _array = copy._array;
   _array = copy._array;
+  _highest_bits = copy._highest_bits;
 }
 }
 
 
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////