Skip to content

Commit

Permalink
[cgroups2] Add override to silence tidy errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
bmahler committed Mar 22, 2024
1 parent 60283df commit 2ffa81c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/containerizer/cgroups2_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const string TEST_CGROUP = "test";
class Cgroups2Test : public TemporaryDirectoryTest
{
protected:
void SetUp()
void SetUp() override
{
TemporaryDirectoryTest::SetUp();

Expand All @@ -51,7 +51,7 @@ class Cgroups2Test : public TemporaryDirectoryTest
}
}

void TearDown()
void TearDown() override
{
if (cgroups2::exists(TEST_CGROUP)) {
ASSERT_SOME(cgroups2::destroy(TEST_CGROUP));
Expand Down

0 comments on commit 2ffa81c

Please sign in to comment.