-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 15 warnings #4325
Fix clang 15 warnings #4325
Conversation
Nit: the commit message contains a very long line. Consider wrapping the lines at 70 characters. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Changes look good. I'd prefer that the lines in the commit message were limited to 70 characters in length, but I won't hold up the pull request just for that.
Clang warns about the code removed in this patch with the warning: ``` warning: out-of-line definition of constexpr static data member is redundant in C++17 and is deprecated [-Wdeprecated] ```
6e631f9
to
e6efd32
Compare
@scottschurr Thanks for catching the long lines in the commit message. Fixed and force pushed. The only change in the force push was the shorting the lines in the commit messages. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't realize C++17 had made these redundant. But I'm glad, because they were really annoying. Thanks for the cleanup.
Clang warned about the code removed in this patch with the warning: ``` warning: out-of-line definition of constexpr static data member is redundant in C++17 and is deprecated [-Wdeprecated] ```
Clang warned about the code removed in this patch with the warning: ``` warning: out-of-line definition of constexpr static data member is redundant in C++17 and is deprecated [-Wdeprecated] ```
Clang warns about the code removed in this patch with the following warning: