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 19, 2023
1 parent 71c3ea0 commit c5fa742
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 c5fa742

Please sign in to comment.