aboutsummaryrefslogtreecommitdiff
path: root/c/common.cpp
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-07-17 01:35:16 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-07-17 01:35:16 +0200
commit26bc41099c10b3a63fd744690df5c25cb713718b (patch)
tree4f314216ec3b6c9f75f003282ca9cb87505772ce /c/common.cpp
parentda04598319bf3ab9d240bbec993222623a4ab85d (diff)
downloadEpisodeBrowser-26bc41099c10b3a63fd744690df5c25cb713718b.tar.gz
Add const to places.
Note that I did NOT add const to non-pointer/non-reference arguments in function declarations (without a following definition), as they do not mean anything there.
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 02feecf..7a1438d 100644
--- a/c/common.cpp
+++ b/c/common.cpp
@@ -2,7 +2,7 @@
#include "common.h"
-Win32Error::Win32Error(DWORD dwErr)
+Win32Error::Win32Error(const DWORD dwErr)
{
m_dwErr = dwErr;
FormatMessageA(