mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fix CSV translation not updating after reimport
This commit is contained in:
parent
46c495ca21
commit
296aba7dc5
7 changed files with 110 additions and 17 deletions
|
|
@ -437,6 +437,21 @@ public:
|
|||
_init_from(p_other);
|
||||
}
|
||||
|
||||
bool operator==(const HashSet &p_other) const {
|
||||
if (num_elements != p_other.num_elements) {
|
||||
return false;
|
||||
}
|
||||
for (uint32_t i = 0; i < num_elements; i++) {
|
||||
if (!p_other.has(keys[i])) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
bool operator!=(const HashSet &p_other) const {
|
||||
return !(*this == p_other);
|
||||
}
|
||||
|
||||
HashSet(uint32_t p_initial_capacity) {
|
||||
// Capacity can't be 0.
|
||||
capacity_index = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue