Skip to content

fix: add_bool now calls through buffer_customization.#140

Open
mikaellindemann wants to merge 1 commit into
mapbox:masterfrom
mikaellindemann:fix/add_bool_using_buffer_customization
Open

fix: add_bool now calls through buffer_customization.#140
mikaellindemann wants to merge 1 commit into
mapbox:masterfrom
mikaellindemann:fix/add_bool_using_buffer_customization

Conversation

@mikaellindemann
Copy link
Copy Markdown

@mikaellindemann mikaellindemann commented May 21, 2026

As described in #139 I cannot use a buffer of a non-char element type (e.g. std::vector<std::byte>).
By calling through the existing buffer_customization<TBuffer>::push_back function, this use-case should be supported.

fixes #139.

@joto
Copy link
Copy Markdown
Collaborator

joto commented May 21, 2026

Thanks. This looks good to me, but CI didn't succeed due to an unrelated issue that needs fixing first.

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.

basic_pbf_writer::add_bool with buffer of non-char element type does not compile.

2 participants