fix: remove useless void in function parameter list

- according to c++ standard, single void in function parameter is equal to empty parameter list. for removing this syntax which may cause misunderstanding (becuase in C, they are different I guess), I replace all `(void)` to `()`.
This commit is contained in:
2024-12-28 22:09:26 +08:00
parent aeb2e86b14
commit ead22d13ff
20 changed files with 31 additions and 31 deletions

View File

@ -128,7 +128,7 @@ namespace LibCmo::VxMath {
this->m_bIsValid = true;
}
VxMemoryMappedFile::~VxMemoryMappedFile(void) {
VxMemoryMappedFile::~VxMemoryMappedFile() {
if (this->m_bIsValid) {
// only success mapping need free
this->m_bIsValid = false;