Skip to content

Commit 0e84e5e

Browse files
author
Razvan Becheriu
committed
[#3710] fixed warning
1 parent 9aa0001 commit 0e84e5e

File tree

6 files changed

+9
-8
lines changed

6 files changed

+9
-8
lines changed

src/hooks/dhcp/forensic_log/tests/legal_log4_unittests.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ struct CalloutTestv4 : CalloutTest {
7272
}
7373

7474
/// @brief Called before each test.
75-
virtual void SetUp() final override {
75+
virtual void SetUp() override {
7676
RotatingFileTest::SetUp();
7777
// Various entities used in tests.
7878
client_id_ = boost::make_shared<ClientId>(CLIENTID);

src/hooks/dhcp/forensic_log/tests/legal_log6_unittests.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ struct CalloutTestv6 : CalloutTest {
7272
}
7373

7474
/// @brief Called before each test.
75-
virtual void SetUp() final override {
75+
virtual void SetUp() override {
7676
RotatingFileTest::SetUp();
7777
// Various entities used in tests.
7878
duid_ = boost::make_shared<DUID>(DUID_DATA);

src/hooks/dhcp/forensic_log/tests/legal_log_mgr_unittests.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ struct LegalLogMgrTest : ::testing::Test {
4141
virtual ~LegalLogMgrTest() = default;
4242

4343
/// @brief Called before each test.
44-
virtual void SetUp() final override {
44+
virtual void SetUp() override {
4545
// Clean up from past tests.
4646
LegalLogMgrFactory::delAllBackends();
4747
}
4848

4949
/// @brief Called after each test.
50-
virtual void TearDown() {
50+
virtual void TearDown() override {
5151
// Clean up from past tests.
5252
LegalLogMgrFactory::delAllBackends();
5353
reset();

src/lib/dhcp/tests/opaque_data_tuple_unittest.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ using namespace isc::util;
2222
namespace {
2323

2424
struct OpaqueDataTupleLenientParsing : ::testing::Test {
25-
void SetUp() final override {
25+
void SetUp() override {
2626
// Retain the current setting for future restoration.
2727
previous_ = Option::lenient_parsing_;
2828

2929
// Enable lenient parsing.
3030
Option::lenient_parsing_ = true;
3131
}
3232

33-
void TearDown() final override {
33+
void TearDown() override {
3434
// Restore.
3535
Option::lenient_parsing_ = previous_;
3636
}

src/lib/dhcp/tests/option_vendor_class_unittest.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ using namespace isc::util;
1919
namespace {
2020

2121
struct OptionVendorClassLenientParsing : ::testing::Test {
22-
void SetUp() final override {
22+
void SetUp() override {
2323
// Retain the current setting for future restoration.
2424
previous_ = Option::lenient_parsing_;
2525

2626
// Enable lenient parsing.
2727
Option::lenient_parsing_ = true;
2828
}
2929

30-
void TearDown() final override {
30+
void TearDown() override {
3131
// Restore.
3232
Option::lenient_parsing_ = previous_;
3333
}

src/lib/dhcpsrv/testutils/Makefile.am

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ libdhcpsrvtest_la_SOURCES += config_result_check.cc config_result_check.h
1818
libdhcpsrvtest_la_SOURCES += dhcp4o6_test_ipc.cc dhcp4o6_test_ipc.h
1919
libdhcpsrvtest_la_SOURCES += host_data_source_utils.cc host_data_source_utils.h
2020
libdhcpsrvtest_la_SOURCES += lib_load_test_fixture.h
21+
libdhcpsrvtest_la_SOURCES += forensic_test_utils.h
2122
libdhcpsrvtest_la_SOURCES += memory_host_data_source.cc memory_host_data_source.h
2223
libdhcpsrvtest_la_SOURCES += test_utils.cc test_utils.h
2324
libdhcpsrvtest_la_SOURCES += generic_backend_unittest.cc generic_backend_unittest.h

0 commit comments

Comments
 (0)