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

@ -32,7 +32,7 @@ namespace LibCmo::CK2 {
this->m_Parser.m_Status = CKStateChunkStatus::WRITE;
}
void CKStateChunk::StopWrite(void) {
void CKStateChunk::StopWrite() {
if (this->m_Parser.m_Status != CKStateChunkStatus::WRITE) return;
// update buffer size