aboutsummaryrefslogtreecommitdiff
path: root/c/common.cpp
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-07-17 18:10:03 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-07-17 18:10:03 +0200
commit6a2b55588278d9401eb946ec94970bbea1069f58 (patch)
tree27be93e00d9ed91ca164b7c0d8b06e2159aa2228 /c/common.cpp
parente1906e8f45b732d83aca0935c59852c7aa64def9 (diff)
downloadEpisodeBrowser-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.cpp')
-rw-r--r--c/common.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/common.cpp b/c/common.cpp
index c485f5d..f0b5d34 100644
--- a/c/common.cpp
+++ b/c/common.cpp
@@ -21,7 +21,7 @@ Win32Error::~Win32Error()
HeapFree(GetProcessHeap(), 0, m_szMsg);
}
-const char* Win32Error::what(void) const noexcept
+const char* Win32Error::what() const noexcept
{
return m_szMsg;
}