Skip to content

Commit

Permalink
testplatform.cpp: fixed functionConst selfcheck warning
Browse files Browse the repository at this point in the history
  • Loading branch information
firewave committed Sep 10, 2023
1 parent e18b73b commit eebc1d2
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 @@ -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);
}
Expand Down

0 comments on commit eebc1d2

Please sign in to comment.