From 49fbca8a8bb50b9e26eec682fd104f7101afebb9 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 21 Dec 2019 13:03:28 -0800 Subject: [PATCH] [clang-tidy] Remove redundant const in function declarations Found with readability-avoid-const-params-in-decls --- src/common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common.cpp b/src/common.cpp index 06192c7fc..6f36c6dff 100644 --- a/src/common.cpp +++ b/src/common.cpp @@ -108,7 +108,7 @@ static owning_lock s_termsize{k_invalid_termsize}; static relaxed_atomic_bool_t s_termsize_valid{false}; static char *wcs2str_internal(const wchar_t *in, char *out); -static void debug_shared(const wchar_t msg_level, const wcstring &msg); +static void debug_shared(wchar_t msg_level, const wcstring &msg); #if defined(OS_IS_CYGWIN) || defined(WSL) // MS Windows tty devices do not currently have either a read or write timestamp. Those