You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by as...@apache.org on 2021/07/26 07:52:07 UTC

[mesos] branch master updated: Use override on overriding methods - found with clang-tidy.

This is an automated email from the ASF dual-hosted git repository.

asekretenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git


The following commit(s) were added to refs/heads/master by this push:
     new 44b172f  Use override on overriding methods - found with clang-tidy.
44b172f is described below

commit 44b172f33de2f2dd14e575f54758e66b56a851d0
Author: Charles-Francois Natali <cf...@gmail.com>
AuthorDate: Sat Jul 24 14:29:35 2021 +0100

    Use override on overriding methods - found with clang-tidy.
---
 src/tests/containerizer/routing_tests.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/tests/containerizer/routing_tests.cpp b/src/tests/containerizer/routing_tests.cpp
index f2e4622..a030668 100644
--- a/src/tests/containerizer/routing_tests.cpp
+++ b/src/tests/containerizer/routing_tests.cpp
@@ -239,7 +239,7 @@ constexpr char TEST_PEER_LINK[] = "veth-peer";
 class RoutingVethTest : public RoutingAdvancedTest
 {
 protected:
-  virtual void SetUp()
+  void SetUp() override
   {
     RoutingAdvancedTest::SetUp();
 
@@ -251,7 +251,7 @@ protected:
     ASSERT_SOME_FALSE(link::exists(TEST_PEER_LINK));
   }
 
-  virtual void TearDown()
+  void TearDown() override
   {
     link::remove(TEST_VETH_LINK);
   }