diff options
author | John Ankarström <john@ankarstrom.se> | 2022-07-17 18:10:03 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-07-17 18:10:03 +0200 |
commit | 6a2b55588278d9401eb946ec94970bbea1069f58 (patch) | |
tree | 27be93e00d9ed91ca164b7c0d8b06e2159aa2228 /c/common.h | |
parent | e1906e8f45b732d83aca0935c59852c7aa64def9 (diff) | |
download | EpisodeBrowser-6a2b55588278d9401eb946ec94970bbea1069f58.tar.gz |
Prefer f() over f(void).
f(void) is a C-ism that is valid but unnecessary in C++.
Diffstat (limited to 'c/common.h')
-rw-r--r-- | c/common.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -14,8 +14,8 @@ struct Win32Error : public std::exception { Win32Error(DWORD dwErr); - ~Win32Error(void); - virtual const char* what(void) const noexcept override; + ~Win32Error(); + virtual const char* what() const noexcept override; private: DWORD m_dwErr; char* const m_szMsg = NULL; @@ -24,7 +24,7 @@ private: struct Library { Library(const TCHAR* tszLibrary); - ~Library(void); + ~Library(); FARPROC GetProcAddress(const char* szProc); private: HMODULE m_hModule; |