Skip to content

Update move constructor of TM::String#2782

Merged
herwinw merged 1 commit into
natalie-lang:masterfrom
herwinw:tm_string_create_and_take_ownership
Jul 12, 2025
Merged

Update move constructor of TM::String#2782
herwinw merged 1 commit into
natalie-lang:masterfrom
herwinw:tm_string_create_and_take_ownership

Conversation

@herwinw
Copy link
Copy Markdown
Member

@herwinw herwinw commented Jul 11, 2025

Instead of a dedicated function to construct it, just use move semantics.

This will break #2772, since that is the only place were we actually use the old name of the constructor, but that one is kind of under construction.

Instead of a dedicated function to construct it, just use move
semantics.
@herwinw herwinw merged commit 622607b into natalie-lang:master Jul 12, 2025
33 of 34 checks passed
@herwinw herwinw deleted the tm_string_create_and_take_ownership branch July 12, 2025 12:15
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