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

Fix clang-tidy warnings #737

Merged
merged 5 commits into from
Sep 1, 2024
Merged

Fix clang-tidy warnings #737

merged 5 commits into from
Sep 1, 2024

Conversation

mairas
Copy link
Collaborator

@mairas mairas commented Aug 30, 2024

I ran clang-tidy against the SensESP codebase and fixed (most of) the issues. While this overall results in improved code quality and consistency, there are some breaking changes as well. In particular, the reactesp namespace was imported in one of the header files, which is a major no-no. (Didn't realize it at the time.) I've removed the using declaration and as a result, reactesp needs to be explicitly stated when referring to ReactESP and Reaction classes. This doesn't have a huge impact on simpler end user code because they can always import the namespace but it's a breaking change, nevertheless.

@mairas mairas force-pushed the clang-tidy branch 2 times, most recently from 7267753 to 5bce052 Compare September 1, 2024 13:07
@mairas mairas merged commit 7369761 into main Sep 1, 2024
28 checks passed
@mairas mairas deleted the clang-tidy branch September 1, 2024 15:16
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.

1 participant