From c5fa7425a957532f280bbe175e0da41133c29451 Mon Sep 17 00:00:00 2001 From: firewave Date: Wed, 11 Oct 2023 11:30:45 +0200 Subject: [PATCH] TestPlatform: fixed `functionConst` selfcheck warnings --- test/testplatform.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testplatform.cpp b/test/testplatform.cpp index 1e688026ad5e..41dccfe4a9ae 100644 --- a/test/testplatform.cpp +++ b/test/testplatform.cpp @@ -408,7 +408,7 @@ class TestPlatform : public TestFixture { ASSERT_EQUALS(defs_c99, platform.getLimitsDefines(Standards::cppstd_t::CPPLatest)); } - void charMinMax() { + void charMinMax() const { Platform platform; ASSERT_EQUALS(255, platform.unsignedCharMax()); ASSERT_EQUALS(127, platform.signedCharMax());