Skip to content

Commit

Permalink
TestPlatform: fixed functionConst selfcheck warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
firewave committed Oct 21, 2023
1 parent 1969789 commit 41114b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testplatform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 41114b6

Please sign in to comment.