Change C++ function parameter lists like “(void)” to just “()”.
In C++, a void-only parameter list may be specified redundantly in the declaration of a function that has no parameters; this is for compatibility with C (which distinguishes function declarations and function prototypes). In pure C++ code, there is no need for such a redundant parameter.
The ICU 73 PR changed some but not all of these. In particular, I was not sure if these changes would require work on the API change generator to suppress spurious output. Therefore, I did not change any public-API .h files.
Follow-up for https://github.com/unicode-org/icu/pull/2351
Change C++ function parameter lists like “(void)” to just “()”.
In C++, a void-only parameter list may be specified redundantly in the declaration of a function that has no parameters; this is for compatibility with C (which distinguishes function declarations and function prototypes). In pure C++ code, there is no need for such a redundant parameter.
The ICU 73 PR changed some but not all of these. In particular, I was not sure if these changes would require work on the API change generator to suppress spurious output. Therefore, I did not change any public-API .h files.