Skip to content

Commit

Permalink
Fix operator+= (VS)
Browse files Browse the repository at this point in the history
  • Loading branch information
HaniAmmar committed Dec 21, 2024
1 parent e8bf986 commit f738853
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Include/HArray.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,10 @@ struct HArray {
HAItem *storage_item = find(index, src_item->Key.First(), src_item->Key.Length(), src_item->Hash);

if (storage_item == nullptr) {
insert(index, Key_T{src_item->Key}, src_item->Hash, Value_T{src_item->Value});
} else {
storage_item->Value = src_item->Value;
storage_item = insert(index, Key_T{src_item->Key}, src_item->Hash);
}

storage_item->Value = src_item->Value;
}

++src_item;
Expand Down

0 comments on commit f738853

Please sign in to comment.