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

Modernize #433

Merged
merged 5 commits into from
Jul 11, 2023
Merged

Modernize #433

merged 5 commits into from
Jul 11, 2023

Conversation

dyollb
Copy link

@dyollb dyollb commented Jun 21, 2023

This pull request modernizes the code a bit, replacing member initialization lists by default member initialization.
This is related to 7a570c8#r119070408

I used clang-tidy to refactor the code. The following checks were used:

std::string uri;
int bufferView{-1}; // (required if no uri)
std::string
mimeType; // (required if no uri) The audio's MIME type. Required if
Copy link
Author

Choose a reason for hiding this comment

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

this is because of the .clang-format, i guess character limit per line.

Copy link
Author

Choose a reason for hiding this comment

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

There are several format changes unrelated to real changes. I guess the .clang-format was only partly used to format the code previously.

@syoyo
Copy link
Owner

syoyo commented Jun 21, 2023

Nice! Each changes seems trivial, but lots of changes... Need some time to review it and ensure no side-effect exists.

@syoyo syoyo merged commit f51243d into syoyo:release Jul 11, 2023
7 checks passed
@syoyo
Copy link
Owner

syoyo commented Jul 11, 2023

Run some tests and seems no side-effects observed, so merged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants