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:
@ -44,9 +44,9 @@ namespace LibCmo::CK2 {
|
||||
|
||||
const void* GetPtr(CKINT extraoff = 0) { return (this->m_MemBegin + m_MemPos + extraoff); }
|
||||
void* GetMutablePtr(CKINT extraoff = 0) { return (this->m_MemBegin + m_MemPos + extraoff); }
|
||||
void* GetBase(void) { return this->m_MemBegin; }
|
||||
CKDWORD GetSize(void) { return this->m_MemSize; }
|
||||
CKDWORD GetCursor(void) { return this->m_MemPos; }
|
||||
void* GetBase() { return this->m_MemBegin; }
|
||||
CKDWORD GetSize() { return this->m_MemSize; }
|
||||
CKDWORD GetCursor() { return this->m_MemPos; }
|
||||
void MoveCursor(CKINT off) { this->m_MemPos += off; }
|
||||
void SetCursor(CKDWORD off) { this->m_MemPos = off; }
|
||||
void Read(void* data, CKDWORD data_size) {
|
||||
|
Reference in New Issue
Block a user