From f7eede23de6f78b2b33b477b2b4c5451141825d5 Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Wed, 2 Oct 2024 19:51:41 -0500 Subject: Add setup for coverage and cppcheck. --- include/fud_c_file.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/fud_c_file.hpp') diff --git a/include/fud_c_file.hpp b/include/fud_c_file.hpp index 3b7d821..0908841 100644 --- a/include/fud_c_file.hpp +++ b/include/fud_c_file.hpp @@ -151,7 +151,7 @@ class CFile { FILE* file() { - auto& self = static_cast(*this); + const auto& self = static_cast(*this); return self.m_file; } -- cgit v1.2.3