Skip to content

Fix legacy position population#1069

Merged
in1tiate merged 3 commits intomasterfrom
legacy-pos-fix
Jan 23, 2025
Merged

Fix legacy position population#1069
in1tiate merged 3 commits intomasterfrom
legacy-pos-fix

Conversation

@in1tiate
Copy link
Member

A change made in #1067 accidentally broke this, so instead of reverting that change I improved the code to not require it anymore.

  • Changed data structure to a static list of pairs to avoid unnecessary deep copies (and avoid allocating unnecessary temporary containers)
  • Fixed oversight which caused iteration over the value and not the key of the previous QMap

- Changed data structure to a static list of pairs to avoid unnecessary deep copies
- Fixed oversight which caused iteration over the value and not the key of the previous QMap
@in1tiate in1tiate requested a review from Salanto January 14, 2025 09:39
@in1tiate in1tiate merged commit fa94955 into master Jan 23, 2025
3 checks passed
@in1tiate in1tiate deleted the legacy-pos-fix branch January 23, 2025 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants