Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: vector constructor should not require DefaultInsertable value_type #46

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

tearfur
Copy link
Contributor

@tearfur tearfur commented Jun 27, 2024

small::vector's default constructor and allocator constructor should not require value_type to be DefaultInsertable.

@alandefreitas
Copy link
Owner

Oh... vector(0, alloc) as an expression ends up requiring that, right?

Is this PR good to go?

@tearfur
Copy link
Contributor Author

tearfur commented Jun 27, 2024

Yes, good to go.

@alandefreitas alandefreitas merged commit 259edec into alandefreitas:develop Jun 27, 2024
5 checks passed
@tearfur tearfur deleted the vec-default-insert branch June 27, 2024 23:10
tearfur added a commit to tearfur/transmission that referenced this pull request Jul 6, 2024
@Coeur
Copy link

Coeur commented Jul 6, 2024

@alandefreitas can we get a 0.2.2 tag for this fix? Thank you.

@alandefreitas
Copy link
Owner

Sure :)

https://github.com/alandefreitas/small/releases/tag/v0.2.2

tearfur added a commit to tearfur/transmission that referenced this pull request Jul 10, 2024
tearfur added a commit to tearfur/transmission that referenced this pull request Jul 11, 2024
tearfur added a commit to tearfur/transmission that referenced this pull request Aug 13, 2024
mikedld pushed a commit to transmission/transmission that referenced this pull request Aug 13, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants