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
Audio clean-up and style/usage fixes #10115
Conversation
tomlankhorst
commented
Oct 19, 2019
- use appropriate static casts
- use appropriate dynamic cast
- remove unused headers
- mark 'pure' getters as 'nodiscard'
- remove redundant virtual
- mark override
- default initialize some structs
I might be making a mistake... but Travis' clang-format seems to be inconsistent with mine. |
We're probably still using an old version of clang-format. I think we have to manually update, and it's been a while. |
@AaronVanGeffen Seems @IntelOrca did the latest docker image update of |
That's not the right way to do. Build a static version of clang-format or use one already available in angular repos, don't build full OS just for that. I will eventually do that, once I have some more time. |
@janisozaur Actually, building an image for a single executable is a typical use-case. And although the Take unibeautify/clang-format for example, it's just 33 MB in total. |
OS implies a having a kernel right? That is no kernel building involved with docker. As @tomlankhorst pointed out, docker has always intended to be for running single apps, such as web apps. |
@tomlankhorst Do you plan to continue work on this PR? |
5456398
to
0dcc0ce
Compare
I was going to review, but the builds are failing, please take a look :) |
Sorry for the delay. I try to fix it today. |
No problem/rush, I just didn't know if you saw it, so I commented |
0dcc0ce
to
42ec099
Compare
I think this should have been split into multiple parts. Some of the plain fixes (like [nodiscard]) are likely to be merged with very little discussion, while other things might take a long time. |
42ec099
to
8c4299e
Compare
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 think it's good to go with the suggestions
* openrct2-ui Audio clean-up and style/usage fixes Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com> Co-authored-by: Tulio Leao <tupaschoal@gmail.com>