blueloveTH преди 3 години
родител
ревизия
68773af1fc
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      src/namedict.h

+ 1 - 0
src/namedict.h

@@ -26,6 +26,7 @@ namespace pkpy{
         NameDict(const NameDict& other) {
         NameDict(const NameDict& other) {
             this->_capacity = other._capacity;
             this->_capacity = other._capacity;
             this->_size = other._size;
             this->_size = other._size;
+            this->_load_factor = other._load_factor;
             this->_a = new NameDictNode[_capacity];
             this->_a = new NameDictNode[_capacity];
             for(int i=0; i<_capacity; i++) _a[i] = other._a[i];
             for(int i=0; i<_capacity; i++) _a[i] = other._a[i];
         }
         }