Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Clang tidy fixes #119

Merged
merged 3 commits into from
Dec 20, 2024
Merged

Clang tidy fixes #119

merged 3 commits into from
Dec 20, 2024

Conversation

joto
Copy link
Collaborator

@joto joto commented Dec 19, 2024

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

@@ -67,7 +67,7 @@ class basic_pbf_builder : public basic_pbf_writer<TBuffer> {
* @param tag Tag of the field that will be written
*/
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
29 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