close
Skip to content

Fixed init-list construction when size_type is not int#4140

Merged
nlohmann merged 1 commit into
nlohmann:developfrom
tomalakgeretkal:custom-int-fix
Sep 23, 2023
Merged

Fixed init-list construction when size_type is not int#4140
nlohmann merged 1 commit into
nlohmann:developfrom
tomalakgeretkal:custom-int-fix

Conversation

@tomalakgeretkal
Copy link
Copy Markdown
Contributor

Rationale in code comments. I thought about adding a new unit test but it was a bit beyond me. Feel free to make suggestions!

Note that this has yet to be amalgamated (waiting for #4083).

Comment thread include/nlohmann/json.hpp Outdated
@gregmarr
Copy link
Copy Markdown
Contributor

gregmarr commented Sep 8, 2023

#4083 has been merged

@tomalakgeretkal
Copy link
Copy Markdown
Contributor Author

Amalgamated.

@github-actions github-actions Bot added M and removed S labels Sep 8, 2023
Copy link
Copy Markdown
Owner

@nlohmann nlohmann left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@nlohmann nlohmann added this to the Release 3.11.3 milestone Sep 23, 2023
@nlohmann nlohmann merged commit 6e36c72 into nlohmann:develop Sep 23, 2023
@nlohmann
Copy link
Copy Markdown
Owner

Thanks!

@tomalakgeretkal tomalakgeretkal deleted the custom-int-fix branch September 23, 2023 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants