From 26bc41099c10b3a63fd744690df5c25cb713718b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sun, 17 Jul 2022 01:35:16 +0200 Subject: 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. --- c/common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/common.cpp') 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( -- cgit v1.2.3