From eebc1d2b1b16cd2c1b9e1f1254c18586488092b2 Mon Sep 17 00:00:00 2001 From: firewave Date: Sun, 10 Sep 2023 19:18:57 +0200 Subject: [PATCH] testplatform.cpp: fixed `functionConst` selfcheck warning --- test/testplatform.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testplatform.cpp b/test/testplatform.cpp index d45ba2d9450..7dbb24789b6 100644 --- a/test/testplatform.cpp +++ b/test/testplatform.cpp @@ -388,7 +388,7 @@ class TestPlatform : public TestFixture { ASSERT(!readPlatform(platform, xmldata)); } - void default_platform() { + void default_platform() const { cppcheck::Platform platform; ASSERT_EQUALS(cppcheck::Platform::Type::Native, platform.type); }