X Tutup
Skip to content

Make CowData::reserve warn message when new capacity < size verbose, like other reserve methods#111084

Merged
Repiteo merged 1 commit intogodotengine:masterfrom
Ivorforce:cowdata-reserve-verbose
Sep 30, 2025
Merged

Make CowData::reserve warn message when new capacity < size verbose, like other reserve methods#111084
Repiteo merged 1 commit intogodotengine:masterfrom
Ivorforce:cowdata-reserve-verbose

Conversation

@Ivorforce
Copy link
Member

The two PRs had a mental conflict that I forgot about: After #110826, the new reserve method should have logged verbosely too. This is now fixed.
Nothing should be affected because the functions aren't in active use yet for Vector or String.

@Ivorforce Ivorforce added this to the 4.6 milestone Sep 30, 2025
@Ivorforce Ivorforce requested a review from a team as a code owner September 30, 2025 18:23
Copy link
Contributor

@Repiteo Repiteo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@Repiteo Repiteo merged commit 55ac91b into godotengine:master Sep 30, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Sep 30, 2025

Thanks!

@Ivorforce Ivorforce deleted the cowdata-reserve-verbose branch September 30, 2025 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

X Tutup