Skip to content

Conversation

@joto
Copy link
Collaborator

@joto joto commented Dec 19, 2024

Various fixes for things found by clang-tidy. See individual commits.

*/
template <typename P>
basic_pbf_builder(basic_pbf_writer<TBuffer>& parent_writer, P tag) noexcept :
basic_pbf_builder(basic_pbf_writer<TBuffer>& parent_writer, P tag) :
Copy link
Member

Choose a reason for hiding this comment

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

We're removing noexcept here, presumably because it was never actually noexcept in the first place?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Exactly. It was never noexcept, clang-tidy found that problem. We can not make it noexcept, so we have to remove the noexcept.

@joto joto merged commit a216428 into mapbox:master Dec 20, 2024
28 checks passed
@joto joto deleted the clang-tidy-fixes branch December 20, 2024 16:49
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