]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3605] Remove extra semis
authorAndrei Pavel <andrei@isc.org>
Wed, 23 Oct 2024 13:40:14 +0000 (16:40 +0300)
committerAndrei Pavel <andrei@isc.org>
Wed, 23 Oct 2024 13:40:30 +0000 (16:40 +0300)
142 files changed:
src/bin/agent/ca_command_mgr.h
src/bin/agent/ca_process.h
src/bin/agent/parser_context_decl.h
src/bin/d2/check_exists_add.h
src/bin/d2/check_exists_remove.h
src/bin/d2/d2_controller.h
src/bin/d2/d2_queue_mgr.h
src/bin/d2/d2_update_mgr.h
src/bin/d2/nc_add.h
src/bin/d2/nc_remove.h
src/bin/d2/parser_context.h
src/bin/d2/parser_context_decl.h
src/bin/d2/simple_add.h
src/bin/d2/simple_add_without_dhcid.h
src/bin/d2/simple_remove.h
src/bin/d2/simple_remove_without_dhcid.h
src/bin/d2/tests/d2_controller_unittests.cc
src/bin/dhcp4/parser_context.h
src/bin/dhcp4/parser_context_decl.h
src/bin/dhcp4/tests/d2_unittest.h
src/bin/dhcp4/tests/dhcp4_client.h
src/bin/dhcp6/dhcp6_srv.h
src/bin/dhcp6/parser_context.h
src/bin/dhcp6/parser_context_decl.h
src/bin/dhcp6/tests/d2_unittest.h
src/bin/dhcp6/tests/dhcp6_client.cc
src/bin/lfc/lfc_controller.cc
src/bin/lfc/lfc_controller.h
src/hooks/dhcp/high_availability/ha_config.h
src/hooks/dhcp/lease_cmds/lease_cmds_exceptions.h
src/hooks/dhcp/lease_cmds/lease_parser.h
src/hooks/dhcp/stat_cmds/stat_cmds.cc
src/hooks/dhcp/user_chk/user_data_source.h
src/lib/asiolink/process_spawn.h
src/lib/asiolink/unix_domain_socket.h
src/lib/cc/cfg_to_element.h
src/lib/cc/command_interpreter.h
src/lib/cc/data.h
src/lib/cc/dhcp_config_error.h
src/lib/cc/json_feed.h
src/lib/cc/user_context.cc
src/lib/config/base_command_mgr.cc
src/lib/config/base_command_mgr.h
src/lib/config/unix_command_mgr.h
src/lib/d2srv/d2_config.h
src/lib/d2srv/nc_trans.h
src/lib/d2srv/tests/nc_trans_unittests.cc
src/lib/database/database_connection.h
src/lib/dhcp/duid_factory.h
src/lib/dhcp/hwaddr.cc
src/lib/dhcp/hwaddr.h
src/lib/dhcp/iface_mgr.h
src/lib/dhcp/opaque_data_tuple.h
src/lib/dhcp/option.h
src/lib/dhcp/option6_status_code.cc
src/lib/dhcp/option_data_types.h
src/lib/dhcp/option_definition.h
src/lib/dhcp/option_space.h
src/lib/dhcp/packet_queue.h
src/lib/dhcp/packet_queue_ring.h
src/lib/dhcp/pkt4.h
src/lib/dhcp/pkt6.h
src/lib/dhcp/pkt_filter.h
src/lib/dhcp/protocol_util.h
src/lib/dhcp/socket_info.h
src/lib/dhcp/tests/option_space_unittest.cc
src/lib/dhcp/tests/pkt_filter6_test_utils.h
src/lib/dhcp/tests/pkt_filter_test_utils.h
src/lib/dhcp/testutils/pkt_captures.h
src/lib/dhcp/testutils/pkt_captures4.cc
src/lib/dhcp/testutils/pkt_captures6.cc
src/lib/dhcp_ddns/ncr_io.h
src/lib/dhcp_ddns/ncr_msg.cc
src/lib/dhcp_ddns/ncr_msg.h
src/lib/dhcp_ddns/ncr_udp.h
src/lib/dhcp_ddns/tests/test_utils.cc
src/lib/dhcp_ddns/tests/test_utils.h
src/lib/dhcpsrv/alloc_engine.h
src/lib/dhcpsrv/allocator.h
src/lib/dhcpsrv/base_host_data_source.h
src/lib/dhcpsrv/cb_ctl_dhcp4.cc
src/lib/dhcpsrv/cb_ctl_dhcp6.cc
src/lib/dhcpsrv/cfg_iface.h
src/lib/dhcpsrv/cfg_mac_source.h
src/lib/dhcpsrv/cfg_option.h
src/lib/dhcpsrv/cfgmgr.h
src/lib/dhcpsrv/d2_client_cfg.cc
src/lib/dhcpsrv/dhcp4o6_ipc.h
src/lib/dhcpsrv/host_container.h
src/lib/dhcpsrv/key_from_key.h
src/lib/dhcpsrv/lease_mgr.h
src/lib/dhcpsrv/network.h
src/lib/dhcpsrv/packet-fuzzer.h
src/lib/dhcpsrv/srv_config.h
src/lib/dhcpsrv/subnet.h
src/lib/dhcpsrv/subnet_id.h
src/lib/dhcpsrv/tests/dhcp_queue_control_parser_unittest.cc
src/lib/dhcpsrv/tests/host_data_source_factory_unittest.cc
src/lib/dhcpsrv/testutils/dhcp4o6_test_ipc.h
src/lib/dhcpsrv/utils.h
src/lib/eval/dependency.h
src/lib/eval/eval_context.h
src/lib/eval/eval_context_decl.h
src/lib/eval/evaluate.h
src/lib/eval/token.h
src/lib/hooks/hooks_config.h
src/lib/hooks/hooks_parser.h
src/lib/hooks/libinfo.h
src/lib/hooks/library_handle.h
src/lib/http/client.h
src/lib/http/connection.h
src/lib/http/date_time.h
src/lib/http/http_message.h
src/lib/http/http_types.h
src/lib/http/listener.h
src/lib/http/post_request_json.h
src/lib/http/request.h
src/lib/http/response.h
src/lib/http/response_creator.h
src/lib/http/response_json.h
src/lib/process/config_base.h
src/lib/process/config_ctl_info.h
src/lib/process/d_cfg_mgr.h
src/lib/process/d_controller.h
src/lib/process/d_process.h
src/lib/process/daemon.h
src/lib/process/tests/d_controller_unittests.cc
src/lib/tcp/tcp_connection.h
src/lib/tcp/tcp_listener.h
src/lib/testutils/io_utils.cc
src/lib/testutils/io_utils.h
src/lib/testutils/sandbox.h
src/lib/testutils/user_context_utils.h
src/lib/util/boost_time_utils.h
src/lib/util/csv_file.h
src/lib/util/labeled_value.h
src/lib/util/pid_file.h
src/lib/util/state_model.h
src/lib/util/tests/triplet_unittest.cc
src/lib/util/versioned_csv_file.h
src/lib/util/watch_socket.h
src/lib/util/watched_thread.h

index c883f77ebb06dd80fd777a3028217cc982993c95..000ae9dc280317e39c1e1862f10902d6b5fa3d02 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2017-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -20,7 +20,7 @@ namespace agent {
 class CommandForwardingError : public Exception {
 public:
     CommandForwardingError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Command Manager for Control Agent.
index 3e6e08418bfb7dd8499e4e464253fb4b49e18efe..5fe35fcaa27aa97e9afcb46d16562d9012f68d2b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2016-2021 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2016-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -149,7 +149,7 @@ private:
 /// @brief Defines a shared pointer to CtrlAgentProcess.
 typedef boost::shared_ptr<CtrlAgentProcess> CtrlAgentProcessPtr;
 
-}; // namespace isc::agent
-}; // namespace isc
+}  // namespace isc::agent
+}  // namespace isc
 
 #endif // CTRL_AGENT_PROCESS_H
index 3ab5448f9461d2f1ee328a092380b8af76d059b4..176f535050ae298a39453e7d7916dfcc5b4759de 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2017-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -14,7 +14,7 @@ namespace agent {
 
 class ParserContext;
 
-}; // end of isc::dhcp namespace
-}; // end of isc namespace
+}  // end of isc::dhcp namespace
+}  // end of isc namespace
 
 #endif
index e095b795c9088a9820b74a3ef39cb7245b7cebb4..f1b1ef5b4ed7d11b0dc7e239a52a8b2d150cbd35 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2023-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -20,7 +20,7 @@ class CheckExistsAddTransactionError : public isc::Exception {
 public:
     CheckExistsAddTransactionError(const char* file, size_t line,
                                const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Embodies the "life-cycle" required to carry out a DDNS Add update.
index 4bf40d4e1d42b013fa59114523746cceedb49dad..9e14bdd9557df77b4d94258e4814e5e7a838cccf 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2023-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -19,7 +19,7 @@ class CheckExistsRemoveTransactionError : public isc::Exception {
 public:
     CheckExistsRemoveTransactionError(const char* file, size_t line,
                                const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Embodies the "life-cycle" required to carry out a DDNS Remove update.
index e3355834be1e44a7b5cdf87cad85799d8bd6ffd6..dd731e705923e5b8a49f0540d1e4b20299e18654 100644 (file)
@@ -83,7 +83,7 @@ private:
     friend class NakedD2Controller;
 };
 
-}; // namespace isc::d2
-}; // namespace isc
+}  // namespace isc::d2
+}  // namespace isc
 
 #endif
index 72a5dc2feae100bbbf267056e634fe14d166a206..b201446c4d7bcb5c1522a18cf05a38cebc7981f7 100644 (file)
@@ -28,7 +28,7 @@ typedef std::deque<dhcp_ddns::NameChangeRequestPtr> RequestQueue;
 class D2QueueMgrError : public isc::Exception {
 public:
     D2QueueMgrError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Thrown if the queue manager's receive handler is passed
@@ -37,7 +37,7 @@ public:
 class D2QueueMgrReceiveError : public isc::Exception {
 public:
     D2QueueMgrReceiveError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Thrown if the request queue is full when an enqueue is attempted.
@@ -45,21 +45,21 @@ public:
 class D2QueueMgrQueueFull : public isc::Exception {
 public:
     D2QueueMgrQueueFull(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Thrown if the request queue empty and a read is attempted.
 class D2QueueMgrQueueEmpty : public isc::Exception {
 public:
     D2QueueMgrQueueEmpty(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Thrown if a queue index is beyond the end of the queue
 class D2QueueMgrInvalidIndex : public isc::Exception {
 public:
     D2QueueMgrInvalidIndex(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief D2QueueMgr creates and manages a queue of DNS update requests.
index ee2cdd0bf33157ffc2b5fbba952a22040d660fd5..b18d1f2f27c7ede314776cf6c8e354e20f73649e 100644 (file)
@@ -27,7 +27,7 @@ namespace d2 {
 class D2UpdateMgrError : public isc::Exception {
 public:
     D2UpdateMgrError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Defines a list of transactions.
index 6bb8ce311f5c1854384f2465b98bedd946217162..37fea65dcd6999e38db5e347bc7a2884603d88ff 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2021 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -20,7 +20,7 @@ class NameAddTransactionError : public isc::Exception {
 public:
     NameAddTransactionError(const char* file, size_t line,
                                const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Embodies the "life-cycle" required to carry out a DDNS Add update.
index 672a3d9841a8668af9a5529141c4bd4693fa0945..9be639f73d2406dc2145bd4e2372263417744485 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2021 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -19,7 +19,7 @@ class NameRemoveTransactionError : public isc::Exception {
 public:
     NameRemoveTransactionError(const char* file, size_t line,
                                const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Embodies the "life-cycle" required to carry out a DDNS Remove update.
index d55a7277a3f0d36f5ad69614e7eac48634c2904d..8a76cc769f9b10b0844ea383eee949494afc70ac 100644 (file)
@@ -28,7 +28,7 @@ namespace d2 {
 class D2ParseError : public isc::Exception {
 public:
     D2ParseError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Evaluation context, an interface to the expression evaluation.
index a927ac1b4b3e117494098c3527c48b46d7132e27..ae08d86dfa4a0fff3f5a7ba68adf42f5d4da7854 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2017-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -14,7 +14,7 @@ namespace d2 {
 
 class D2ParserContext;
 
-}; // end of isc::dhcp namespace
-}; // end of isc namespace
+}  // end of isc::dhcp namespace
+}  // end of isc namespace
 
 #endif
index bf617a50a77ccd90294f3d84d739a056dbcb96d1..b06dce9c9beba5db721158653209da4d73059718 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2020-2021 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2020-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -20,7 +20,7 @@ class SimpleAddTransactionError : public isc::Exception {
 public:
     SimpleAddTransactionError(const char* file, size_t line,
                                const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Embodies the "life-cycle" required to carry out a DDNS Add update.
index b1a1962bb6b75824ac836ffb285d3dac0e8ae684..932c6127d2b4370ab30d75475495ddf2cfe265b1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2023-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -20,7 +20,7 @@ class SimpleAddWithoutDHCIDTransactionError : public isc::Exception {
 public:
     SimpleAddWithoutDHCIDTransactionError(const char* file, size_t line,
                                const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Embodies the "life-cycle" required to carry out a DDNS Add update
index 957cb138a7ce11501b56a68cebbf3b40773cee2e..1f995838f37fd31f520ebc5ad640cd3c82722be4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2020-2021 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2020-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -19,7 +19,7 @@ class SimpleRemoveTransactionError : public isc::Exception {
 public:
     SimpleRemoveTransactionError(const char* file, size_t line,
                                const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Embodies the "life-cycle" required to carry out a DDNS Remove update.
index 9636b51ea64d55465857aca6c35940b9b09d9b05..f42f287bae9ade40db9a8dc51e8548cccdb75ed2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2023-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -19,7 +19,7 @@ class SimpleRemoveWithoutDHCIDTransactionError : public isc::Exception {
 public:
     SimpleRemoveWithoutDHCIDTransactionError(const char* file, size_t line,
                                const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Embodies the "life-cycle" required to carry out a DDNS Remove update without
index 76ed9e826b68c5593eb7fb8839e11a068e99d594..243e830ab4134c4abaf58f2b007a28dea7811651 100644 (file)
@@ -300,5 +300,5 @@ TEST_F(D2ControllerTest, sigtermShutdown) {
     /// @todo add a way to trap log file and search it
 }
 
-}; // end of isc::d2 namespace
-}; // end of isc namespace
+}  // end of isc::d2 namespace
+}  // end of isc namespace
index 01e8e147a040cbab5495f92013855f5ff824d1c5..364cd9c0dc2ecbd3633101285a5c0a820a74198e 100644 (file)
@@ -28,7 +28,7 @@ namespace dhcp {
 class Dhcp4ParseError : public isc::Exception {
 public:
     Dhcp4ParseError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Evaluation context, an interface to the expression evaluation.
@@ -421,7 +421,7 @@ public:
     isc::data::ElementPtr parseCommon();
 };
 
-}; // end of isc::eval namespace
-}; // end of isc namespace
+}  // namespace dhcp
+}  // namespace isc
 
 #endif
index 039a790f8cd5eb9d3d8ebdd73dde69c67597634c..babb2872d26ae8e7ce3ba965a978a90f8e60985b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2016-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -14,7 +14,7 @@ namespace dhcp {
 
 class Parser4Context;
 
-}; // end of isc::dhcp namespace
-}; // end of isc namespace
+}  // namespace dhcp
+}  // namespace isc
 
 #endif
index 20474e352efc24a4f82f639fd574eed3b67a1846..21635133147f860317d5e74aa5fbca92aadbfcdf 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2015 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2014-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -108,8 +108,8 @@ public:
     D2Dhcpv4Srv srv_;
 };
 
-}; // end of isc::dhcp::test namespace
-}; // end of isc::dhcp namespace
-}; // end of isc namespace
+}  // end of isc::dhcp::test namespace
+}  // end of isc::dhcp namespace
+}  // end of isc namespace
 
 #endif // D2_UNITTEST_H
index a7265a43ad9af306f1a5d3cfeb38f2a5e0f031f3..7d6748b4f7d83c8eba6de2d1bd44d65d34027e71 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2014-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -25,7 +25,7 @@ namespace test {
 class Dhcp4ClientError : public isc::Exception {
 public:
     Dhcp4ClientError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief DHCPv4 client used for unit testing.
index 489ce8aad9ce195ce24580d4afc6813d067e3e8d..cf61729b74b5db793383e6af169b269e65be374f 100644 (file)
@@ -48,7 +48,7 @@ namespace dhcp {
 class DHCPv6DiscardMessageError : public Exception {
 public:
     DHCPv6DiscardMessageError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief DHCPv6 server service.
index ecf1b5373d4a52956894410fba8ff33dee2c862f..0411b7ba7ad0b85330a5404b456d5d13c52a752b 100644 (file)
@@ -28,7 +28,7 @@ namespace dhcp {
 class Dhcp6ParseError : public isc::Exception {
 public:
     Dhcp6ParseError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Evaluation context, an interface to the expression evaluation.
@@ -427,7 +427,7 @@ public:
     isc::data::ElementPtr parseCommon();
 };
 
-}; // end of isc::eval namespace
-}; // end of isc namespace
+}  // namespace dhcp
+}  // namespace isc
 
 #endif
index f84686364a52184e2ff5541330cc2df654f5687f..e69423e3a1b6d6bbf7924b8cce317693d13ad0ca 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2016-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -14,7 +14,7 @@ namespace dhcp {
 
 class Parser6Context;
 
-}; // end of isc::dhcp namespace
-}; // end of isc namespace
+}  // namespace dhcp
+}  // namespace isc
 
 #endif
index 336d94179797af924ad1af9dc03c146ac2a71764..6f2b33e81ee56566e8a6435bb317925786640672 100644 (file)
@@ -106,8 +106,8 @@ public:
     D2Dhcpv6Srv srv_;
 };
 
-}; // end of isc::dhcp::test namespace
-}; // end of isc::dhcp namespace
-}; // end of isc namespace
+}  // end of isc::dhcp::test namespace
+}  // end of isc::dhcp namespace
+}  // end of isc namespace
 
 #endif // D2_UNITTEST_H
index d6418efaefe43911b095bb283c561c992107c432..cef3bcaf634c2fc9d24c84b88b6e234bbb92e161 100644 (file)
@@ -92,7 +92,7 @@ void getLeasesByPool(const Dhcp6Client::Configuration& config,
     }
 }
 
-}; // end of anonymous namespace
+}  // end of anonymous namespace
 
 namespace isc {
 namespace dhcp {
index 10d7a80cb5ee6ef3c2e28899e24d66e24680543b..9da33bc3b76a49be5a36bf2e7307054d1a8fdf22 100644 (file)
@@ -35,7 +35,7 @@ using namespace isc::log;
 namespace {
 /// @brief Maximum number of errors to allow when reading leases from the file.
 const uint32_t MAX_LEASE_ERRORS = 100;
-}; // namespace anonymous
+}  // namespace anonymous
 
 namespace isc {
 namespace lfc {
@@ -438,5 +438,5 @@ LFCController::startLogger(const bool test_mode) const {
     }
 }
 
-}; // namespace isc::lfc
-}; // namespace isc
+}  // namespace isc::lfc
+}  // namespace isc
index d58b418358d5481560714ab11d685ceb068bf6f3..845b73617c40f18b108735af11075df81f913f48 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2015-2018 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2015-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -17,7 +17,7 @@ namespace lfc {
 class InvalidUsage : public isc::Exception {
 public:
     InvalidUsage(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Exceptions thrown when a method is unable to manipulate
@@ -25,7 +25,7 @@ public:
 class RunTimeFail : public isc::Exception {
 public:
     RunTimeFail(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Process controller for LFC process
@@ -197,7 +197,7 @@ private:
     void startLogger(const bool test_mode) const;
 };
 
-}; // namespace isc::lfc
-}; // namespace isc
+}  // namespace isc::lfc
+}  // namespace isc
 
 #endif // LFC_CONTROLLER_H
index 12b43b3ec958750f185733e844a98b1011d669df..659222b01cee49225ff204937ddd0deea3301153 100644 (file)
@@ -28,7 +28,7 @@ namespace ha {
 class HAConfigValidationError : public Exception {
 public:
     HAConfigValidationError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 class HAConfig;
index cf8e13514400416cb6ac04654593e3c6bb086db7..f0bc73f93919a905762e2b2fb5dbb659674779af 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2022-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -19,7 +19,7 @@
 class LeaseCmdsConflict : public isc::Exception {
 public:
     LeaseCmdsConflict(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 #endif // LEASE_CMDS_EXCEPTIONS_H
index c3b31c58d57399ecdb59050f9aa28784b5136673..207da343dcd3ee716d5432fe9c42422610a27978 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2017-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -98,7 +98,7 @@ public:
     virtual ~Lease6Parser() {}
 };
 
-}; // end of isc::dhcp namespace
-}; // end of isc namespace
+}  // end of isc::dhcp namespace
+}  // end of isc namespace
 
 #endif
index 2cb96c6ac4e8a5189aa617b1e3b88c60f3498263..65a81a9fdd7c7708af1bc3ac480861126d455b8b 100644 (file)
@@ -43,7 +43,7 @@ namespace stat_cmds {
 class NotFound: public isc::Exception {
 public:
     NotFound (const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Implements command handling for stat-leaseX-get commands
index c9a3571e66aaa880924ce3fb4aa4a73b2fb820ba..3c5bfeca1ed7235210481e5c1c892657a5977ba1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -17,7 +17,7 @@ class UserDataSourceError : public isc::Exception {
 public:
     UserDataSourceError(const char* file, size_t line,
                                const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Defines an interface for reading user data into a registry.
index d8944fcf261063d9c5e76c850878b0033f041096..394dc95728d1b013119ceca0b5561c487bde94df 100644 (file)
@@ -22,7 +22,7 @@ namespace asiolink {
 class ProcessSpawnError : public Exception {
 public:
     ProcessSpawnError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Forward declaration to the implementation of the @c ProcessSpawn
index 0c211ae92df2984a04aae828e1cc96394ffd9e50..f9c4802007ce05d1894ecde10500165f1c237108 100644 (file)
@@ -20,7 +20,7 @@ namespace asiolink {
 class UnixDomainSocketError : public Exception {
 public:
     UnixDomainSocketError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 class UnixDomainSocketImpl;
index 480dd1fa7485c8e8be067af26bb2224c486cad85..c43e0209bf245bde4d03dba0d6e1f59012b34861 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2017-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -19,7 +19,7 @@ namespace isc {
 class ToElementError : public isc::Exception {
 public:
     ToElementError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 namespace data {
@@ -42,7 +42,7 @@ struct CfgToElement {
     virtual isc::data::ElementPtr toElement() const = 0;
 };
 
-}; // namespace isc::dhcp
-}; // namespace isc
+}  // namespace dhcp
+}  // namespace isc
 
 #endif // CFG_TO_ELEMENT_H
index da7f5b6036e10a50d8ffa7bd8019bcebf05710ab..a05fa7bd9d3082f4f5ecc65f3f1e45f09fc362b5 100644 (file)
@@ -219,7 +219,7 @@ isc::data::ConstElementPtr
 combineCommandsLists(const isc::data::ConstElementPtr& response1,
                      const isc::data::ConstElementPtr& response2);
 
-}; // end of namespace isc::config
-}; // end of namespace isc
+}  // namespace config
+}  // namespace isc
 
 #endif // COMMAND_INTERPRETER_H
index a4be0ed674a254dce0ffc4aed955fbe620a9d961..b93e2ec29eceb24cf483bffbaaf2745371283b35 100644 (file)
@@ -172,7 +172,7 @@ protected:
 
 public:
     // base class; make dtor virtual
-    virtual ~Element() {};
+    virtual ~Element() {}
 
     /// @return the type of this element
     types getType() const { return (type_); }
@@ -232,24 +232,24 @@ public:
     /// getValue() below
     //@{
     virtual int64_t intValue() const
-    { throwTypeError("intValue() called on non-integer Element"); };
+    { throwTypeError("intValue() called on non-integer Element"); }
     virtual isc::util::int128_t bigIntValue() const {
         throwTypeError("bigIntValue() called on non-big-integer Element");
     }
     virtual double doubleValue() const
-    { throwTypeError("doubleValue() called on non-double Element"); };
+    { throwTypeError("doubleValue() called on non-double Element"); }
     virtual bool boolValue() const
-    { throwTypeError("boolValue() called on non-Bool Element"); };
+    { throwTypeError("boolValue() called on non-Bool Element"); }
     virtual std::string stringValue() const
-    { throwTypeError("stringValue() called on non-string Element"); };
+    { throwTypeError("stringValue() called on non-string Element"); }
     virtual const std::vector<ElementPtr>& listValue() const {
         // replace with real exception or empty vector?
         throwTypeError("listValue() called on non-list Element");
-    };
+    }
     virtual const std::map<std::string, ConstElementPtr>& mapValue() const {
         // replace with real exception or empty map?
         throwTypeError("mapValue() called on non-map Element");
-    };
+    }
     //@}
 
     /// @name Exception-safe getters
@@ -281,8 +281,8 @@ public:
     //@{
     virtual bool setValue(const long long int v);
     virtual bool setValue(const isc::util::int128_t& v);
-    bool setValue(const long int i) { return (setValue(static_cast<long long int>(i))); };
-    bool setValue(const int i) { return (setValue(static_cast<long long int>(i))); };
+    bool setValue(const long int i) { return (setValue(static_cast<long long int>(i))); }
+    bool setValue(const int i) { return (setValue(static_cast<long long int>(i))); }
     virtual bool setValue(const double v);
     virtual bool setValue(const bool t);
     virtual bool setValue(const std::string& v);
@@ -673,7 +673,7 @@ class DoubleElement : public Element {
 
 public:
     DoubleElement(double v, const Position& pos = ZERO_POSITION())
-        : Element(real, pos), d(v) {};
+        : Element(real, pos), d(v) {}
     double doubleValue() const { return (d); }
     using Element::getValue;
     bool getValue(double& t) const { t = d; return (true); }
@@ -688,7 +688,7 @@ class BoolElement : public Element {
 
 public:
     BoolElement(const bool v, const Position& pos = ZERO_POSITION())
-        : Element(boolean, pos), b(v) {};
+        : Element(boolean, pos), b(v) {}
     bool boolValue() const { return (b); }
     using Element::getValue;
     bool getValue(bool& t) const { t = b; return (true); }
@@ -701,7 +701,7 @@ public:
 class NullElement : public Element {
 public:
     NullElement(const Position& pos = ZERO_POSITION())
-        : Element(null, pos) {};
+        : Element(null, pos) {}
     void toJSON(std::ostream& ss) const;
     bool equals(const Element& other) const;
 };
@@ -711,7 +711,7 @@ class StringElement : public Element {
 
 public:
     StringElement(std::string v, const Position& pos = ZERO_POSITION())
-        : Element(string, pos), s(v) {};
+        : Element(string, pos), s(v) {}
     std::string stringValue() const { return (s); }
     using Element::getValue;
     bool getValue(std::string& t) const { t = s; return (true); }
@@ -745,9 +745,9 @@ public:
     void set(size_t i, ElementPtr e) {
         l.at(i) = e;
     }
-    void add(ElementPtr e) { l.push_back(e); };
+    void add(ElementPtr e) { l.push_back(e); }
     using Element::remove;
-    void remove(int i) { l.erase(l.begin() + i); };
+    void remove(int i) { l.erase(l.begin() + i); }
     void toJSON(std::ostream& ss) const;
     size_t size() const { return (l.size()); }
     bool empty() const { return (l.empty()); }
index 1337dd8afe103fe4f62caf8e9bfb31b2df62cdef..66631c9184cb8d64d43ae2aa3d5d96d710115480 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2017-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -18,7 +18,7 @@ namespace isc {
 class ParseError : public isc::Exception {
  public:
  ParseError(const char* file, size_t line, const char* what) :
-    isc::Exception(file, line, what) { };
+    isc::Exception(file, line, what) { }
 };
 
 /// An exception that is thrown if an error occurs while configuring
@@ -66,7 +66,7 @@ public:
         : isc::Exception(file, line, what) {}
 };
 
-}; // end of isc::dhcp namespace
-}; // end of isc namespace
+}  // namespace dhcp
+}  // namespace isc
 
 #endif // DHCP_CONFIG_ERROR_H
index abef6b0b14391600f084055f8ba36d4d353026b8..935fd58977e4b513d1dcfd1e851e875b6223d7c6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2021 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2017-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -30,7 +30,7 @@ typedef boost::shared_ptr<const JSONFeed> ConstJSONFeedPtr;
 class JSONFeedError : public Exception {
 public:
     JSONFeedError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief State model for asynchronous read of data in JSON format.
index 2ff1984cc934cb73fe12227424a5d088bb39d0d0..ba32069b9b0faeccb0c623519fbc235267432cc5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2017-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -26,5 +26,5 @@ UserContext::toElement(ConstElementPtr map) {
     return (result);
 }
 
-}; // end of isc::dhcp namespace
-}; // end of isc namespace
+}  // end of isc::dhcp namespace
+}  // end of isc namespace
index 064303b841629d1b1b8a1ef689bc771df253c255..3754da9ae6853034964fbffb20fcbd1addfd7bf6 100644 (file)
@@ -39,7 +39,7 @@ struct BaseCommandMgrHooks {
 // module is called.
 BaseCommandMgrHooks Hooks;
 
-}; // anonymous namespace
+}  // anonymous namespace
 
 namespace isc {
 namespace config {
index 916eebcc0fd93ed075e0d0b9753c444d9967c410..4cbd6c8d9d9edc003d409a7f9cc0dd5207024bf1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2017-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -20,14 +20,14 @@ namespace config {
 class InvalidCommandHandler : public Exception {
 public:
     InvalidCommandHandler(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Exception indicating that the command name is not valid
 class InvalidCommandName : public Exception {
 public:
     InvalidCommandName(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Commands Manager, responsible for processing external commands.
@@ -103,7 +103,7 @@ public:
     BaseCommandMgr();
 
     /// @brief Destructor.
-    virtual ~BaseCommandMgr() { };
+    virtual ~BaseCommandMgr() { }
 
     /// @brief Triggers command processing.
     ///
index 69406894d6e3149d0b7f4d50bc8096658b34aa76..d94cef26ff9ea2cfdb7b0ef6a4b679cbefa57b6b 100644 (file)
@@ -20,14 +20,14 @@ namespace config {
 class BadSocketInfo : public Exception {
 public:
     BadSocketInfo(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief An exception indicating a problem with socket operation
 class SocketError : public Exception {
 public:
     SocketError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 class UnixCommandMgrImpl;
index 4653bcbbf9e17875676eab7763055025fcf9db9c..7a907a6310645ffbd35afe9625261b7c184a6677 100644 (file)
@@ -136,7 +136,7 @@ namespace d2 {
 class D2CfgError : public isc::Exception {
 public:
     D2CfgError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Acts as a storage vault for D2 global scalar parameters
index 2aee7eccfbe391f639082a34e53030a466681fe1..2f7cb1e17788e74466acceffb5c3cefc78648643 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2021 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -28,7 +28,7 @@ class NameChangeTransactionError : public isc::Exception {
 public:
     NameChangeTransactionError(const char* file, size_t line,
                                const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Defines the type used as the unique key for transactions.
index adc87328eb82a74a2cd5151b7df180b445fbccc0..69d6616c3bbb4dbf1fe640bd5de0b7f7d08fe778 100644 (file)
@@ -1259,4 +1259,4 @@ TEST_F(NameChangeTransactionTest, addPtrRdata) {
     EXPECT_EQ(ncr->getFqdn(), rdata_it->getCurrent().toText());
 }
 
-}; // anonymous namespace
+}  // anonymous namespace
index 7c43c7edaf29108edde107dde8d030eddbe3b914..80ed1ac4ff91d0231f452eddc6983100c2366aaa 100644 (file)
@@ -147,7 +147,7 @@ public:
     }
 
     /// @brief Destructor
-    virtual ~DatabaseConnection(){};
+    virtual ~DatabaseConnection(){}
 
     /// @brief Instantiates a ReconnectCtl based on the connection's
     /// reconnect parameters
index d3d6f714dd13267aeb76ada1c95be6cc0f97a5a6..4ad0cc47006fb07249894105bec4e0929b616538 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2015-2018 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2015-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -179,7 +179,7 @@ private:
 
 };
 
-}; // end of isc::dhcp namespace
-}; // end of isc namespace
+}  // end of isc::dhcp namespace
+}  // end of isc namespace
 
 #endif /* DUID_FACTORY_H */
index a1b3680257dc8c96676ef4bfa6f371b96d648604..913f660743a4e94a3bc0411fee8a7dfa52123286 100644 (file)
@@ -81,5 +81,5 @@ bool HWAddr::operator!=(const HWAddr& other) const {
     return !(*this == other);
 }
 
-}; // end of isc::dhcp namespace
-}; // end of isc namespace
+}  // end of isc::dhcp namespace
+}  // end of isc namespace
index 8e984707444f01f44ee96d9e814f5906f686aa0b..55d475be0019739ed582a63dd105dea84ecb4287 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -153,7 +153,7 @@ public:
 /// @brief Shared pointer to a hardware address structure
 typedef boost::shared_ptr<HWAddr> HWAddrPtr;
 
-}; // end of isc::dhcp namespace
-}; // end of isc namespace
+}  // namespace dhcp
+}  // namespace isc
 
 #endif // HWADDR_H
index 5fc577a0d7ba45d036e7e6937852c6ffe9def528..30325255af1c97700159410105fd89623b71f7bf 100644 (file)
@@ -41,21 +41,21 @@ namespace dhcp {
 class IfaceDetectError : public Exception {
 public:
     IfaceDetectError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Exception thrown when it is not allowed to set new Packet Filter.
 class PacketFilterChangeDenied : public Exception {
 public:
     PacketFilterChangeDenied(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Exception thrown when a call to select is interrupted by a signal.
 class SignalInterruptOnSelect : public Exception {
 public:
     SignalInterruptOnSelect(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief IfaceMgr exception thrown thrown when socket opening
@@ -63,7 +63,7 @@ public:
 class SocketConfigError : public Exception {
 public:
     SocketConfigError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief IfaceMgr exception thrown thrown when error occurred during
@@ -71,7 +71,7 @@ public:
 class SocketReadError : public Exception {
 public:
     SocketReadError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief IfaceMgr exception thrown thrown when error occurred during
@@ -79,21 +79,21 @@ public:
 class SocketWriteError : public Exception {
 public:
     SocketWriteError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief IfaceMgr exception thrown when there is no suitable interface.
 class IfaceNotFound : public Exception {
 public:
     IfaceNotFound(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief IfaceMgr exception thrown when there is no suitable socket found.
 class SocketNotFound : public Exception {
 public:
     SocketNotFound(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Represents a single network interface
@@ -221,7 +221,7 @@ public:
     /// @brief Returns interface name.
     ///
     /// @return interface name
-    std::string getName() const { return name_; };
+    std::string getName() const { return name_; }
 
     /// @brief Sets up hardware type of the interface.
     ///
index 03887e367540bced603e39eacd91efaec44b1eae..6faf0b73ac97fa914fe9f51dee120b7e0347788f 100644 (file)
@@ -23,7 +23,7 @@ namespace dhcp {
 class OpaqueDataTupleError : public Exception {
 public:
     OpaqueDataTupleError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 
index 8643574d8e0b04738462b2cccb7cb63c4e6e11e4..68b422556f4da6b1abb0bad72e2ec61a8442e21b 100644 (file)
@@ -52,7 +52,7 @@ typedef boost::shared_ptr<OptionCollection> OptionCollectionPtr;
 class SkipRemainingOptionsError : public Exception {
 public:
     SkipRemainingOptionsError (const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Exception thrown during option unpacking
@@ -67,7 +67,7 @@ public:
 class SkipThisOptionError : public Exception {
 public:
     SkipThisOptionError (const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Wrapper exception thrown by unpackOptionsX functions to
@@ -75,7 +75,7 @@ public:
 class OptionParseError : public Exception {
 public:
     OptionParseError (const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 class Option {
index 8f90c7b0491393fbefd0206a6a351c7ff2ee732d..46a06ebf69ec779c094cb1f07822631dc7dc1b97 100644 (file)
@@ -22,7 +22,7 @@ namespace {
 const size_t OPTION6_STATUS_CODE_MIN_LEN = sizeof(uint16_t);
 const size_t OPTION4_SLP_SERVICE_SCOPEMIN_LEN = sizeof(uint8_t);
 
-}; // end of anonymous namespace
+}  // end of anonymous namespace
 
 namespace isc {
 namespace dhcp {
index f224c22528466cc9fd74bb354ebdd0b283d3ce1d..6621d2fec01f2f6fdc1d9349ad60e5d04ecfae31 100644 (file)
@@ -23,14 +23,14 @@ namespace dhcp {
 class InvalidDataType : public Exception {
 public:
     InvalidDataType(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Exception to be thrown when cast to the data type was unsuccessful.
 class BadDataTypeCast : public Exception {
 public:
     BadDataTypeCast(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Data types of DHCP option fields.
index 050782b001f3078430f9c562c583f1ca5c3e0295..170659ca44e0cc1b90c7779734ab2857dfaf2932 100644 (file)
@@ -30,14 +30,14 @@ namespace dhcp {
 class InvalidOptionValue : public Exception {
 public:
     InvalidOptionValue(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Exception to be thrown when option definition is invalid.
 class MalformedOptionDefinition : public Exception {
 public:
     MalformedOptionDefinition(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Exception to be thrown when the particular option definition
@@ -45,7 +45,7 @@ public:
 class DuplicateOptionDefinition : public Exception {
 public:
     DuplicateOptionDefinition(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Forward declaration to OptionDefinition.
@@ -384,7 +384,7 @@ public:
     /// @brief Return option data type.
     ///
     /// @return option data type.
-    OptionDataType getType() const { return (type_); };
+    OptionDataType getType() const { return (type_); }
 
     /// @brief Returns const pointer to the user context
     data::ConstElementPtr getContext() const {
index 4826b0f00af60a6e42f40b3d220d177ad1d13c60..50f7cc3e3f804b91038a58988d5f8e4ce2d61b9d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2012-2020 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2012-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -23,7 +23,7 @@ namespace dhcp {
 class InvalidOptionSpace : public Exception {
 public:
     InvalidOptionSpace(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// OptionSpace forward declaration.
index 04affc087be6e260e6fc1235770358c11531dd64..0609d522175bc3bfd48b7514ad8487dbc9330eed 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2018-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -57,7 +57,7 @@ public:
         :  queue_type_(queue_type) {}
 
     /// Virtual destructor
-    virtual ~PacketQueue(){};
+    virtual ~PacketQueue(){}
 
     /// @brief Adds a packet to the queue
     ///
@@ -117,7 +117,7 @@ public:
     /// @return Fetches the logical name of the type of this queue.
     std::string getQueueType() {
         return (queue_type_);
-    };
+    }
 
 private:
     /// @brief Logical name of the this queue's implementation type.
@@ -135,7 +135,7 @@ typedef boost::shared_ptr<PacketQueue<Pkt4Ptr>> PacketQueue4Ptr;
 /// DHCPv6 packet queue factories.
 typedef boost::shared_ptr<PacketQueue<Pkt6Ptr>> PacketQueue6Ptr;
 
-}; // namespace isc::dhcp
-}; // namespace isc
+}  // namespace dhcp
+}  // namespace isc
 
 #endif // PACKET_QUEUE_H
index 1b6ae91329dd69eee62083b1421f40895a0291c2..3b2a09a9cda1665ad64952811079302bc26c3b3f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2018-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -257,7 +257,7 @@ public:
     virtual ~PacketQueueRing6(){}
 };
 
-}; // namespace isc::dhcp
-}; // namespace isc
+}  // namespace isc::dhcp
+}  // namespace isc
 
 #endif // PACKET_QUEUE_RING_H
index cdf3d13fcdd2d7ac1ceda5c8d0a36378dae2ddae..373db03299a28f87b6a4ddbdf8407d7da5881607 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2011-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2011-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -140,12 +140,12 @@ public:
     /// @brief Sets hops field.
     ///
     /// @param hops value to be set
-    void setHops(uint8_t hops) { hops_ = hops; };
+    void setHops(uint8_t hops) { hops_ = hops; }
 
     /// @brief Returns hops field.
     ///
     /// @return hops field
-    uint8_t getHops() const { return (hops_); };
+    uint8_t getHops() const { return (hops_); }
 
     // Note: There's no need to manipulate OP field directly,
     // thus no setOp() method. See op_ comment.
@@ -153,75 +153,75 @@ public:
     /// @brief Returns op field.
     ///
     /// @return op field
-    uint8_t getOp() const { return (op_); };
+    uint8_t getOp() const { return (op_); }
 
     /// @brief Sets secs field.
     ///
     /// @param secs value to be set
-    void setSecs(uint16_t secs) { secs_ = secs; };
+    void setSecs(uint16_t secs) { secs_ = secs; }
 
     /// @brief Returns secs field.
     ///
     /// @return secs field
-    uint16_t getSecs() const { return (secs_); };
+    uint16_t getSecs() const { return (secs_); }
 
     /// @brief Sets flags field.
     ///
     /// @param flags value to be set
-    void setFlags(uint16_t flags) { flags_ = flags; };
+    void setFlags(uint16_t flags) { flags_ = flags; }
 
     /// @brief Returns flags field.
     ///
     /// @return flags field
-    uint16_t getFlags() const { return (flags_); };
+    uint16_t getFlags() const { return (flags_); }
 
     /// @brief Returns ciaddr field.
     ///
     /// @return ciaddr field
     const isc::asiolink::IOAddress&
-    getCiaddr() const { return (ciaddr_); };
+    getCiaddr() const { return (ciaddr_); }
 
     /// @brief Sets ciaddr field.
     ///
     /// @param ciaddr value to be set
     void
-    setCiaddr(const isc::asiolink::IOAddress& ciaddr) { ciaddr_ = ciaddr; };
+    setCiaddr(const isc::asiolink::IOAddress& ciaddr) { ciaddr_ = ciaddr; }
 
     /// @brief Returns siaddr field.
     ///
     /// @return siaddr field
     const isc::asiolink::IOAddress&
-    getSiaddr() const { return (siaddr_); };
+    getSiaddr() const { return (siaddr_); }
 
     /// @brief Sets siaddr field.
     ///
     /// @param siaddr value to be set
     void
-    setSiaddr(const isc::asiolink::IOAddress& siaddr) { siaddr_ = siaddr; };
+    setSiaddr(const isc::asiolink::IOAddress& siaddr) { siaddr_ = siaddr; }
 
     /// @brief Returns yiaddr field.
     ///
     /// @return yiaddr field
     const isc::asiolink::IOAddress&
-    getYiaddr() const { return (yiaddr_); };
+    getYiaddr() const { return (yiaddr_); }
 
     /// @brief Sets yiaddr field.
     ///
     /// @param yiaddr value to be set
     void
-    setYiaddr(const isc::asiolink::IOAddress& yiaddr) { yiaddr_ = yiaddr; };
+    setYiaddr(const isc::asiolink::IOAddress& yiaddr) { yiaddr_ = yiaddr; }
 
     /// @brief Returns giaddr field.
     ///
     /// @return giaddr field
     const isc::asiolink::IOAddress&
-    getGiaddr() const { return (giaddr_); };
+    getGiaddr() const { return (giaddr_); }
 
     /// @brief Sets giaddr field.
     ///
     /// @param giaddr value to be set
     void
-    setGiaddr(const isc::asiolink::IOAddress& giaddr) { giaddr_ = giaddr; };
+    setGiaddr(const isc::asiolink::IOAddress& giaddr) { giaddr_ = giaddr; }
 
     /// @brief Returns DHCP message type (e.g. 1 = DHCPDISCOVER).
     ///
@@ -262,7 +262,7 @@ public:
     ///
     /// @return sname field
     const OptionBuffer
-    getSname() const { return (std::vector<uint8_t>(sname_, &sname_[MAX_SNAME_LEN])); };
+    getSname() const { return (std::vector<uint8_t>(sname_, &sname_[MAX_SNAME_LEN])); }
 
     /// @brief Sets sname field.
     ///
@@ -277,7 +277,7 @@ public:
     ///
     /// @return pointer to file field
     const OptionBuffer
-    getFile() const { return (std::vector<uint8_t>(file_, &file_[MAX_FILE_LEN])); };
+    getFile() const { return (std::vector<uint8_t>(file_, &file_[MAX_FILE_LEN])); }
 
     /// Sets file field
     ///
index 1ae23be3de83858290d045fb04ae8ae07482ca38..a29ab2a63c930eefe8b1451c603547c6aa32b779 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2011-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2011-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -222,7 +222,7 @@ public:
     /// @brief Sets message type (e.g. 1 = SOLICIT).
     ///
     /// @param type message type to be set
-    virtual void setType(uint8_t type) { msg_type_=type; };
+    virtual void setType(uint8_t type) { msg_type_=type; }
 
     /// @brief Retrieves the DUID from the Client Identifier option.
     ///
index b5ab295c85c9e9538d27692c991d4e355cff34ba..dca33a44988cd6b956f47c71127c65404867d60b 100644 (file)
@@ -18,7 +18,7 @@ namespace dhcp {
 class InvalidPacketFilter : public Exception {
 public:
     InvalidPacketFilter(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// Forward declaration to the structure describing a socket.
index fcd8473552bb7f8c57b567ddd38944ce1a41c822..fa6a6f64ed153c5d38c8aeaed4045137c8fe026b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2021 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -22,7 +22,7 @@ namespace dhcp {
 class InvalidPacketHeader : public Exception {
 public:
     InvalidPacketHeader(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// Size of the Ethernet frame header.
index f81f7fdf1971d4de6c20b26aca4b2d4a9d5aa4bc..92f089ffa2fc5dd454a9d85c554b466b40af20bc 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2018-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -62,7 +62,7 @@ struct SocketInfo {
 
 };
 
-}; // namespace isc::dhcp
-}; // namespace isc
+}  // namespace dhcp
+}  // namespace isc
 
 #endif // DHCP_SOCKET_INFO_H
index 77b25aad5fecf08210c03033607d7adc2f91e61d..508c34e2b0326d820c942b1f135371a73c4c6b60 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2012-2017 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2012-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -139,4 +139,4 @@ TEST(OptionSpace6Test, setVendorSpace) {
 }
 
 
-}; // end of anonymous namespace
+}  // end of anonymous namespace
index a4437f768902011af7259a14490271d2c2660df2..f1722ad0ec2b577cbcf939d5e727af2c468aaaf8 100644 (file)
@@ -166,8 +166,8 @@ public:
 
 };
 
-}; // end of isc::dhcp::test namespace
-}; // end of isc::dhcp namespace
-}; // end of isc namespace
+}  // end of isc::dhcp::test namespace
+}  // end of isc::dhcp namespace
+}  // end of isc namespace
 
 #endif // PKT_FILTER6_TEST_UTILS_H
index ed2300ba62341d1dd462535998b786d5150c2b51..f7d599350a8bec1fac4fc75f5135a0da29aa30d2 100644 (file)
@@ -199,8 +199,8 @@ public:
 };
 
 
-}; // end of isc::dhcp::test namespace
-}; // end of isc::dhcp namespace
-}; // end of isc namespace
+}  // end of isc::dhcp::test namespace
+}  // end of isc::dhcp namespace
+}  // end of isc namespace
 
 #endif // PKT_FILTER_TEST_UTILS_H
index 7f4723a43bcfb6dfd4935389d2e6d39b71a79a98..b4b060285a310d01a06ec6340c32e10f1b0189db 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2014-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -96,8 +96,8 @@ protected:
     static void captureSetDefaultFields(const isc::dhcp::Pkt4Ptr& pkt);
 };
 
-}; // end of namespace isc::dhcp::test
-}; // end of namespace isc::dhcp
-}; // end of namespace isc
+}  // namespace test
+}  // namespace dhcp
+}  // namespace isc
 
 #endif
index 3ba9013085e8131ee1aae92bba08881354edf357..6a2bd8dcab1801c07f1aa99e428abf65e5ac6846 100644 (file)
@@ -384,6 +384,6 @@ Pkt4Ptr PktCaptures::discoverGenexis() {
     return (packetFromCapture(hex_string));
 }
 
-}; // end of isc::dhcp::test namespace
-}; // end of isc::dhcp namespace
-}; // end of isc namespace
+}  // end of isc::dhcp::test namespace
+}  // end of isc::dhcp namespace
+}  // end of isc namespace
index f2bd8ece4e23b9c1975adeeef76d5da79ae5613c..3f4c6e78399a0374f64a6ab7c4dbb33e04361e6f 100644 (file)
@@ -506,6 +506,6 @@ isc::dhcp::Pkt6Ptr PktCaptures::captureSolicitWithTruncatedVIVSO() {
     return (pkt);
 }
 
-}; // end of isc::dhcp::test namespace
-}; // end of isc::dhcp namespace
-}; // end of isc namespace
+}  // end of isc::dhcp::test namespace
+}  // end of isc::dhcp namespace
+}  // end of isc namespace
index b2b3287e02fbbbd4e0efb4b6aaf2363b21a06c60..8bde34bd13170793b8ab4ba748cbf03ca8ba5c26 100644 (file)
@@ -94,21 +94,21 @@ extern std::string ncrProtocolToString(NameChangeProtocol protocol);
 class NcrListenerError : public isc::Exception {
 public:
     NcrListenerError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Exception thrown if an error occurs during IO source open.
 class NcrListenerOpenError : public isc::Exception {
 public:
     NcrListenerOpenError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Exception thrown if an error occurs initiating an IO receive.
 class NcrListenerReceiveError : public isc::Exception {
 public:
     NcrListenerReceiveError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Abstract interface for receiving NameChangeRequests.
@@ -213,7 +213,7 @@ public:
 
     /// @brief Destructor
     virtual ~NameChangeListener() {
-    };
+    }
 
     /// @brief Prepares the IO for reception and initiates the first receive.
     ///
@@ -360,28 +360,28 @@ typedef boost::shared_ptr<NameChangeListener> NameChangeListenerPtr;
 class NcrSenderError : public isc::Exception {
 public:
     NcrSenderError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Exception thrown if an error occurs during IO source open.
 class NcrSenderOpenError : public isc::Exception {
 public:
     NcrSenderOpenError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Exception thrown if an error occurs initiating an IO send.
 class NcrSenderQueueFull : public isc::Exception {
 public:
     NcrSenderQueueFull(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Exception thrown if an error occurs initiating an IO send.
 class NcrSenderSendError : public isc::Exception {
 public:
     NcrSenderSendError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Abstract interface for sending NameChangeRequests.
index 8a2b89f1e91895065a199f4a59efc59064bcceba..011bd197811c9d594a8fb0742b26b4bc6422d927 100644 (file)
@@ -751,5 +751,5 @@ NameChangeRequest::operator != (const NameChangeRequest& other) const {
 }
 
 
-}; // end of isc::dhcp namespace
-}; // end of isc namespace
+}  // end of isc::dhcp namespace
+}  // end of isc namespace
index a58a1c70273e640e5579c95897fe5c4cdabce4a0..b6ace7985a100f4f70a1c11602032002812cdde7 100644 (file)
@@ -30,7 +30,7 @@ namespace dhcp_ddns {
 class NcrMessageError : public isc::Exception {
 public:
     NcrMessageError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Exception thrown when there is an error occurred during computation
@@ -38,7 +38,7 @@ public:
 class DhcidRdataComputeError : public isc::Exception {
 public:
     DhcidRdataComputeError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Defines the types of DNS updates that can be requested.
@@ -795,8 +795,7 @@ private:
     NameChangeStatus status_;
 };
 
-
-}; // end of isc::dhcp_ddns namespace
-}; // end of isc namespace
+}  // namespace dhcp_ddns
+}  // namespace isc
 
 #endif
index 2853428e92b097d9caba0d6ee89b1e60af4ba1e7..f62452c26dfe9ac835edebd500fc9f90cf2e59cf 100644 (file)
@@ -122,7 +122,7 @@ namespace dhcp_ddns {
 class NcrUDPError : public isc::Exception {
 public:
     NcrUDPError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 class UDPCallback;
index 0671307e7d313b9371ad69296cc6c1e0fdca5512..322df62a90f0f88d2a8d66ec0ac2b400d2d4aa72 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2015 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2014-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -33,5 +33,5 @@ int selectCheck(int fd_to_check) {
     return (select(maxfd + 1, &read_fds, NULL, NULL, &select_timeout));
 }
 
-}; // namespace isc::d2
-}; // namespace isc
+}  // namespace isc::d2
+}  // namespace isc
index daeba6fc1c831e4c7828f34863f23b408abeb7a3..eeaf14f67cc4b04b9094165279b2f87a60506fbe 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2014-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -23,7 +23,7 @@ namespace dhcp_ddns {
 /// read, > 0 if it is ready to read.
 int selectCheck(int fd_to_check);
 
-}; // namespace isc::dhcp_ddns;
-}; // namespace isc;
+}  // namespace isc::dhcp_ddns;
+}  // namespace isc;
 
 #endif
index b046cc23f9e52586667014adcbbb056bdb0bcf70..dd10b81484c06eb51c5abc0cdcb685cb11e5e0cf 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2012-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2012-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -430,7 +430,7 @@ public:
         /// in the client's message.
         void createIAContext() {
             ias_.push_back(IAContext());
-        };
+        }
 
         /// @brief Returns host from the most preferred subnet.
         ///
index 66f2302dbc0fd5a543db92e215c949ddfe1ea0c6..ac94ab992a95f76583c81657f6f5b24d06038454 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2022-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2022-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -169,7 +169,7 @@ protected:
     ///
     /// It is called by the @c initAfterConfigure and can be overridden in the
     /// derived allocators.
-    virtual void initAfterConfigureInternal() {};
+    virtual void initAfterConfigureInternal() {}
 
 private:
 
index 1ca50900d6fcf25b83a7311b3a641d7ad8d08a0d..2833acb864b4e038c6a19759fd5043a8ac60301f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2014-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -23,14 +23,14 @@ namespace dhcp {
 class DuplicateHost : public Exception {
 public:
     DuplicateHost(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Exception thrown when a @c Host object is expected, but none are found.
 class HostNotFound : public Exception {
 public:
     HostNotFound(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Exception thrown when an address is already reserved by a @c Host
@@ -38,7 +38,7 @@ public:
 class ReservedAddress : public Exception {
 public:
     ReservedAddress(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Exception thrown when invalid IP address has been specified for
@@ -46,7 +46,7 @@ public:
 class BadHostAddress : public isc::BadValue {
 public:
     BadHostAddress(const char* file, size_t line, const char* what) :
-        isc::BadValue(file, line, what) { };
+        isc::BadValue(file, line, what) { }
 };
 
 /// @brief Wraps value holding size of the page with host reservations.
@@ -530,13 +530,13 @@ public:
     ///
     /// Commits all pending database operations.  On databases that don't
     /// support transactions, this is a no-op.
-    virtual void commit() {};
+    virtual void commit() {}
 
     /// @brief Rollback Transactions
     ///
     /// Rolls back all pending database operations.  On databases that don't
     /// support transactions, this is a no-op.
-    virtual void rollback() {};
+    virtual void rollback() {}
 
     /// @brief Controls whether IP reservations are unique or non-unique.
     ///
index f85e464c646df43d33a598b4f299fce5059b2398..5544bfd1b43cbfc456889a992fe7b9b3d8498714 100644 (file)
@@ -38,7 +38,7 @@ struct CbCtlHooks {
 // module is called.
 CbCtlHooks hooks_;
 
-}; // anonymous namespace
+}  // anonymous namespace
 
 namespace isc {
 namespace dhcp {
index 32324e534589e0874dc8352e125e1812473bd5d1..02901709f1f9e3038c09c4fb0ecc9192fac5928b 100644 (file)
@@ -37,7 +37,7 @@ struct CbCtlHooks {
 // module is called.
 CbCtlHooks hooks_;
 
-}; // anonymous namespace
+}  // anonymous namespace
 
 namespace isc {
 namespace dhcp {
index 2ee84432d07f97abf22f1b4f5056c3e48ed821b5..d88884aa6b75b1993c0af282ffb1f45773d1d170 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2014-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -24,28 +24,28 @@ namespace dhcp {
 class DuplicateIfaceName : public Exception {
 public:
     DuplicateIfaceName(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Exception thrown when specified interface name is invalid.
 class InvalidIfaceName : public Exception {
 public:
     InvalidIfaceName(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Exception thrown when specified interface doesn't exist in a system.
 class NoSuchIface : public Exception {
 public:
     NoSuchIface(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Exception thrown when duplicated address specified.
 class DuplicateAddress : public Exception {
 public:
     DuplicateAddress(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Exception thrown when specified unicast address is not assigned
@@ -53,7 +53,7 @@ public:
 class NoSuchAddress : public Exception {
 public:
     NoSuchAddress(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Exception thrown when invalid socket type has been specified
@@ -61,7 +61,7 @@ public:
 class InvalidSocketType : public Exception {
 public:
     InvalidSocketType(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Represents selection of interfaces for DHCP server.
index 87c673dd3dc40055b05ff4729cc21614aa04c3be..7977221c79c13ed1fc9f3d73214838dc1dbaa9e9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2015,2017 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2014-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -80,7 +80,7 @@ class CfgMACSource : public isc::data::CfgToElement {
 
 };
 
-};
-};
+}  // namespace dhcp
+}  // namespace isc
 
 #endif
index 31e86cff888b074a0301e8c691117d8fc2bd8cc2..3f001239cd91af1fcbd69591cd17aecc0c82f83e 100644 (file)
@@ -108,7 +108,7 @@ public:
           cancelled_(cancel), formatted_value_(formatted_value),
           space_name_() {
         setContext(user_context);
-    };
+    }
 
     /// @brief Constructor.
     ///
@@ -116,7 +116,7 @@ public:
     /// @param cancel if true, option is never sent.
     OptionDescriptor(bool persist, bool cancel)
         : data::StampedElement(), option_(OptionPtr()), persistent_(persist),
-          cancelled_(cancel), formatted_value_(), space_name_() {};
+          cancelled_(cancel), formatted_value_(), space_name_() {}
 
     /// @brief Copy constructor.
     ///
@@ -130,7 +130,7 @@ public:
           space_name_(desc.space_name_),
           client_classes_(desc.client_classes_) {
         setContext(desc.getContext());
-    };
+    }
 
     /// @brief Assignment operator.
     ///
index b27bfa4894e70fbcae590a53a29d7940c7405da7..a3aa4ccbf428c796c7be0ae66af1312d4609940a 100644 (file)
@@ -35,7 +35,7 @@ namespace dhcp {
 class DuplicateListeningIface : public Exception {
 public:
     DuplicateListeningIface(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Configuration Manager
index a011e637f06ec2e61bcea7021cc738305b73b187..ffa3eddb46d52a9bfde0c5637e36c073394b6b21 100644 (file)
@@ -217,5 +217,5 @@ operator<<(std::ostream& os, const D2ClientConfig& config) {
     return (os);
 }
 
-};  // namespace dhcp
-};  // namespace isc
+}  // namespace dhcp
+}  // namespace isc
index d67f2d217620f0a85a93ff3a7719bfb573625158..a0d56164beb2334918f965ad132a5f575160a405 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2015-2017 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2015-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -24,7 +24,7 @@ namespace dhcp {
 class Dhcp4o6IpcError : public Exception {
 public:
     Dhcp4o6IpcError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief This class implements the communication between the DHCPv4
index 40bc193bfd640f46456dca8ad6f47f02f3ce8297..fbd0e498037ff64afaccba85966995d24788add2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2014-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -309,7 +309,7 @@ typedef HostContainer6::nth_index<4>::type HostContainer6Index4;
 typedef std::pair<HostContainer6Index4::iterator,
                   HostContainer6Index4::iterator> HostContainer6Index4Range;
 
-}; // end of isc::dhcp namespace
-}; // end of isc namespace
+}  // namespace dhcp
+}  // namespace isc
 
 #endif // HOST_CONTAINER_H
index ce8a92e1518bbbb07562413e15720f0c8163cf95..ad80df0e2ccf807ca82e1fc20a245bcd1cc319ea 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -48,7 +48,7 @@ public:
 
     /// @brief Constructor.
     KeyFromKeyExtractor()
-        : key1_(KeyExtractor1()), key2_(KeyExtractor2()) { };
+        : key1_(KeyExtractor1()), key2_(KeyExtractor2()) { }
 
     /// @brief Extract key value from the object hierarchy.
     ///
index 0b219159339202c8594a9b9076fad52e28bd4ddf..57c91fbb368f70c27f072a26c4679b2382d34c25 100644 (file)
@@ -183,14 +183,14 @@ public:
     LeaseStatsQuery(const SubnetID& first_subnet_id, const SubnetID& last_subnet_id);
 
     /// @brief virtual destructor
-    virtual ~LeaseStatsQuery() {};
+    virtual ~LeaseStatsQuery() {}
 
     /// @brief Executes the query
     ///
     /// This method should conduct whatever steps are required to
     /// calculate the lease statistical data by examining the
     /// lease data and making that results available row by row.
-    virtual void start() {};
+    virtual void start() {}
 
     /// @brief Fetches the next row of data
     ///
@@ -203,19 +203,19 @@ public:
     /// @brief Returns the value of first subnet ID specified (or zero)
     SubnetID getFirstSubnetID() const {
         return (first_subnet_id_);
-    };
+    }
 
     /// @brief Returns the value of last subnet ID specified (or zero)
     SubnetID getLastSubnetID() const {
         return (last_subnet_id_);
-    };
+    }
 
     /// @brief Returns the selection criteria mode
     /// The value returned is based upon the constructor variant used
     /// and it indicates which query variant will be executed.
     SelectMode getSelectMode() const {
         return (select_mode_);
-    };
+    }
 
 protected:
     /// @brief First (or only) subnet_id in the selection criteria
index 99836568c12fbf02fb177e9804f12d6b8b9d2830..d8f97606146b44d2604217818eb3f177b8bbd123 100644 (file)
@@ -226,7 +226,7 @@ public:
     /// @brief Virtual destructor.
     ///
     /// Does nothing at the moment.
-    virtual ~Network() { };
+    virtual ~Network() { }
 
     /// @brief Sets the optional callback function used to fetch globally
     /// configured parameters.
@@ -270,7 +270,7 @@ public:
     getIface(const Inheritance& inheritance = Inheritance::ALL) const {
         return (getProperty<Network>(&Network::getIface, iface_name_,
                                      inheritance));
-    };
+    }
 
     /// @brief Sets information about relay
     ///
@@ -1483,7 +1483,7 @@ public:
     /// option support is enabled (if true), or disabled (if false).
     void setRapidCommit(const util::Optional<bool>& rapid_commit) {
         rapid_commit_ = rapid_commit;
-    };
+    }
 
     /// @brief Returns allocator type for prefix delegation.
     ///
index 428e325cdab2fc724d091e862d28a956c6de406b..7eb80db302939717fcb7a650395a87a608b02ce8 100644 (file)
@@ -137,7 +137,7 @@ private:
 class FuzzInitFail : public Exception {
 public:
     FuzzInitFail(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };  // class FuzzInitFail
 
 }  // namespace isc
index 426ca3c6a027a47a1a59609a2e59caf47c56ffa3..5bfc973dcdfa598d53422db40e8804dfb17e79d2 100644 (file)
@@ -49,7 +49,7 @@ class CfgMgr;
 class DdnsParams {
 public:
     /// @brief Default constructor
-    DdnsParams() : subnet_(), d2_client_enabled_(false) {};
+    DdnsParams() : subnet_(), d2_client_enabled_(false) {}
 
     /// @brief Constructor for DHPCv4 subnets
     ///
index 7f2e0f93a8933124e67d35aea7e4646861290939..239485b3f6cf836b75c59b4659e87d3ec6d7d80c 100644 (file)
@@ -339,7 +339,7 @@ protected:
     ///
     /// A virtual destructor is needed because other classes
     /// derive from this class.
-    virtual ~Subnet() { };
+    virtual ~Subnet() { }
 
     /// @brief Checks if used pool type is valid.
     ///
index aff581bf62b153762bb8d2ce4a94684ceecfdd18..8f57be97729c804d182d3cbd046e242ee7313617 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2014-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -36,7 +36,7 @@ static const SubnetID SUBNET_ID_UNUSED = std::numeric_limits<uint32_t>::max();
 class DuplicateSubnetID : public Exception {
 public:
     DuplicateSubnetID(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Ordered list aka set of subnetIDs.
index ccb3ab57282fe27a1ba9b77b77bdc214cfc65226..205e0a1ae9a2eeede3cc8d12edabcf44d62a8c88 100644 (file)
@@ -208,4 +208,4 @@ TEST_F(DHCPQueueControlParserTest, multiThreading) {
     EXPECT_EQ("false", queue_control->get("enable-queue")->str());
 }
 
-}; // anonymous namespace
+}  // anonymous namespace
index 4485a496b1b414b544d5d0bf6bd8c872b0bc1289..c820423be8018adfcf24fad9f6107c2da93a8e94 100644 (file)
@@ -23,7 +23,7 @@ using namespace isc::dhcp::test;
 
 namespace {
 
-// @brief Register memFactory 
+// @brief Register memFactory
 bool registerFactory() {
     static auto db_version = []() -> std::string {
         return (std::string("version 1"));
@@ -216,4 +216,4 @@ TEST_F(HostDataSourceFactoryTest, multiple) {
     EXPECT_FALSE(HostDataSourceFactory::del(sources_, "mem2"));
 }
 
-}; // end of anonymous namespace
+}  // end of anonymous namespace
index 5109de06c37f28b0ba5b69f564045b3a24e71e0a..057e2ac907d15c9e4c3701ad33bf49af0d7666ca 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2015-2016 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2015-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -83,8 +83,8 @@ private:
     Pkt6Ptr pkt_received_;
 };
 
-}; // end of isc::dhcp::test namespace
-}; // end of isc::dhcp namespace
-}; // end of isc namespace
+}  // end of isc::dhcp::test namespace
+}  // end of isc::dhcp namespace
+}  // end of isc namespace
 
 #endif // DHCP4O6_TEST_IPC_H
index 96faa93fc7e7b5c478ba21cb2d8e1999dc338eaa..f3981d4c6b58bf6b033201d8cd5475b2779aca7b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2012-2015 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2012-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -26,7 +26,7 @@ RFCViolation(const char* file, size_t line, const char* what) :
     isc::Exception(file, line, what) {}
 };
 
-}; // namespace isc::dhcp
-}; // namespace isc
+}  // namespace isc::dhcp
+}  // namespace isc
 
 #endif // DHCPSRV_UTILS_H
index 001bed77bfce7d873a570d4fdda6ea0cc2016d14..f650a5856fca370dfc0dbcfd8bacc7a2d3a2576f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2018-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -31,7 +31,7 @@ bool dependOnClass(const TokenPtr& token, const std::string& name);
 /// @return true if a member of expr depends on name, false if not.
 bool dependOnClass(const ExpressionPtr& expr, const std::string& name);
 
-}; // end of isc::dhcp namespace
-}; // end of isc namespace
+}  // end of isc::dhcp namespace
+}  // end of isc namespace
 
 #endif
index 033ff088f0a571c08b389814fbc65e37de8efbce..2041fe6048fa5af0ac3efb16cc528eda6b6ba1c3 100644 (file)
@@ -27,7 +27,7 @@ namespace eval {
 class EvalParseError : public isc::Exception {
 public:
     EvalParseError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 
index c83801167ffe117db45bfc8c1aca60a4cf28a9d5..e81fdd47d6f99a92c9741badcf578431a77490cf 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2015 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2015-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -14,7 +14,7 @@ namespace eval {
 
 class EvalContext;
 
-}; // end of isc::eval namespace
-}; // end of isc namespace
+}  // end of isc::eval namespace
+}  // end of isc namespace
 
 #endif
index 3e4c2c3be21d7039e65e0443116894e1935aee49..6cc527be74f586c6494d991e0b34f86693ef451f 100644 (file)
@@ -50,7 +50,7 @@ bool evaluateBool(const Expression& expr, Pkt& pkt);
 /// @throw EvalBadLabel if there is a forward branch to a not found target.
 std::string evaluateString(const Expression& expr, Pkt& pkt);
 
-}; // end of isc::dhcp namespace
-}; // end of isc namespace
+}  // end of isc::dhcp namespace
+}  // end of isc namespace
 
 #endif
index 2327078bcdf706d23677aedb57f5be0b0b3beab6..59d0b8394a90a46fa8d09ae360a279ae59e7d9e4 100644 (file)
@@ -38,7 +38,7 @@ typedef std::stack<std::string> ValueStack;
 class EvalBadStack : public Exception {
 public:
     EvalBadStack(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief EvalTypeError is thrown when a value on the stack has a content
@@ -46,14 +46,14 @@ public:
 class EvalTypeError : public Exception {
 public:
     EvalTypeError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief EvalBadLabel is thrown when a label can't be found.
 class EvalBadLabel : public Exception {
 public:
     EvalBadLabel(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Base class for all tokens
index 62c3fbb1de8e7fc8f4078f7e82b616245d7a3f26..1618a9d037d05256d8dc57fd4c29724895ada5af 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2017-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -19,7 +19,7 @@ namespace hooks {
 class InvalidHooksLibraries : public Exception {
  public:
     InvalidHooksLibraries(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Wrapper class that holds hooks libraries configuration
index 4bec9a6aff6d1a1da6ff5c633ce6a5c07f6de877..441e56c1f1da75625c589ad0e9b48280d764987b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2017-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -59,7 +59,7 @@ public:
     void parse(HooksConfig& libraries, isc::data::ConstElementPtr value);
 };
 
-}; // namespace isc::hooks
-}; // namespace isc
+}  // namespace isc::hooks
+}  // namespace isc
 
 #endif
index 42b0441586dd71885d47c849cf7b02071b3644e6..78f72f9c0c5ab387224853ad9e3fb8b52e2e2f03 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2016-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -36,7 +36,7 @@ typedef boost::shared_ptr<HookLibsCollection> HookLibsCollectionPtr;
 /// @brief Extracts library names from full library information structure
 std::vector<std::string> extractNames(const HookLibsCollection& libinfo);
 
-};
-};
+}  // namespace hooks
+}  // namespace isc
 
 #endif
index 14af40c729b0504f9fb5e7e800cfff1f0d4e3e6e..6b46fbb3b4d501c1c8500e5447655faa3da0242d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -20,7 +20,7 @@ class CalloutManager;
 /// Typedef for a callout pointer.  (Callouts must have "C" linkage.)
 extern "C" {
     typedef int (*CalloutPtr)(CalloutHandle&);
-};
+}
 
 /// @brief Library handle
 ///
index 12deb157b009d46a8a18ec41dab22dc245600fbe..8d9772c26069b60d1439df1a44c238dde5484e8c 100644 (file)
@@ -26,7 +26,7 @@ namespace http {
 class HttpClientError : public Exception {
 public:
     HttpClientError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 class HttpClientImpl;
index adf6b7a64eb2119a93f667fbb27544ced5cdca1d..eec18d319c797e32e9113bc3559351a4e5ffba46 100644 (file)
@@ -27,7 +27,7 @@ namespace http {
 class HttpConnectionError : public Exception {
 public:
     HttpConnectionError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Forward declaration to the @ref HttpConnectionPool.
index ba96ba3415a500ba4c413e0b39c377c065f86da7..37ff287d15421a3ecc37c0e7844b27ca444ad8bf 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2016-2019 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2016-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -21,7 +21,7 @@ namespace http {
 class HttpTimeConversionError : public Exception {
 public:
     HttpTimeConversionError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief This class parses and generates time values used in HTTP.
index 3634c80fa75181e8df937bfd433df3060e7c998f..588640b6a38c4d8f5f75ef44c3e925b113498c5a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2018 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2017-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -22,7 +22,7 @@ namespace http {
 class HttpMessageError : public Exception {
 public:
     HttpMessageError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Exception thrown when attempt is made to retrieve a
@@ -31,7 +31,7 @@ class HttpMessageNonExistingHeader : public HttpMessageError {
 public:
     HttpMessageNonExistingHeader(const char* file, size_t line,
                                  const char* what) :
-        HttpMessageError(file, line, what) { };
+        HttpMessageError(file, line, what) { }
 };
 
 
index 68d1c0952b3cd4e48133608e2413a3b9770ab24f..d4bb9e8ed399fc36de6381c9369a97605f4b77a0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2016-2017 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2016-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -53,7 +53,7 @@ struct HttpVersion {
     static const HttpVersion& HTTP_10() {
         static HttpVersion ver(1, 0);
         return (ver);
-    };
+    }
 
     /// @brief HTTP version 1.1.
     static const HttpVersion& HTTP_11() {
index 3d513019c8d1555656658f45052551195d7d25e0..b842d7f18d9cb5a4e72cc029960ce7ddbf1bbf12 100644 (file)
@@ -22,7 +22,7 @@ namespace http {
 class HttpListenerError : public Exception {
 public:
     HttpListenerError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief HttpListener implementation.
index 7a2faba2b387c1e1d5f74d0d53484cf89b8983f6..7957b8b47dfce6ae4aef231b01b3a50181e9863a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2016-2020 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2016-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -20,7 +20,7 @@ namespace http {
 class HttpRequestJsonError : public HttpRequestError {
 public:
     HttpRequestJsonError(const char* file, size_t line, const char* what) :
-        HttpRequestError(file, line, what) { };
+        HttpRequestError(file, line, what) { }
 };
 
 class PostHttpRequestJson;
index 014e6e454f679228824f1b2671f68b56937d6fb9..9c233219ae2b4a6b37dd507f51742a153b51e826 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2016-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2016-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -21,7 +21,7 @@ namespace http {
 class HttpRequestError : public HttpMessageError {
 public:
     HttpRequestError(const char* file, size_t line, const char* what) :
-        HttpMessageError(file, line, what) { };
+        HttpMessageError(file, line, what) { }
 };
 
 class HttpRequest;
index 734d92fd801249c30461cf7017483f77f03724f3..39e4e755f0e9ed5c64714319acab8b3f37d870f4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2016-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2016-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -23,7 +23,7 @@ namespace http {
 class HttpResponseError : public HttpMessageError {
 public:
     HttpResponseError(const char* file, size_t line, const char* what) :
-        HttpMessageError(file, line, what) { };
+        HttpMessageError(file, line, what) { }
 };
 
 /// @brief HTTP status codes (cf RFC 2068)
@@ -232,7 +232,7 @@ private:
     ///
     /// @param status_code Status code for which the body should be
     /// generated.
-    void setGenericBody(const HttpStatusCode& /*status_code*/) { };
+    void setGenericBody(const HttpStatusCode& /*status_code*/) { }
 
 protected:
 
index ac212fe5de6cf119b691af373fdd2e51c628de90..bc50f932c131fbbcd279a1f89c4f589fbcef4388 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2016-2020 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2016-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -41,7 +41,7 @@ public:
     /// @brief Destructor.
     ///
     /// Classes with virtual functions need virtual destructors.
-    virtual ~HttpResponseCreator() { };
+    virtual ~HttpResponseCreator() { }
 
     /// @brief Create HTTP response from HTTP request received.
     ///
index d8ed06e900386669179d009b5400b15e091d331c..9b54e66d1c866ea692dc8d130cf9bd37822c8e3c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2016-2018 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2016-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -18,7 +18,7 @@ namespace http {
 class HttpResponseJsonError : public HttpResponseError {
 public:
     HttpResponseJsonError(const char* file, size_t line, const char* what) :
-        HttpResponseError(file, line, what) { };
+        HttpResponseError(file, line, what) { }
 };
 
 class HttpResponseJson;
index 1a99d4c99fdd01ef980c942f4a29b5e1bef512c9..7470fbbbcaf6b639bc9799d70960f606f499c8ca 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2019 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2018-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -175,7 +175,7 @@ private:
 /// @brief Non-const pointer to the @c ConfigBase.
 typedef boost::shared_ptr<ConfigBase> ConfigPtr;
 
-};
-};
+}  // namespace process
+}  // namespace isc
 
 #endif /* CONFIG_BASE_H */
index a4fbedb7414a1a558cceb9e4864c6874508c23f3..dedd0c159b05a195798b3201214ea32897e21c0b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2018-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -24,7 +24,7 @@ namespace process {
 class ConfigDbInfo : public isc::data::CfgToElement {
 public:
     /// @brief Constructor
-    ConfigDbInfo() {};
+    ConfigDbInfo() {}
 
     /// @brief Set the access string.
     ///
@@ -143,7 +143,7 @@ public:
 
     /// @brief Constructor.
     ConfigControlInfo()
-        : config_fetch_wait_time_(30, true) {};
+        : config_fetch_wait_time_(30, true) {}
 
     /// @brief Copy Constructor.
     ConfigControlInfo(const ConfigControlInfo& other);
index 204f7b29bc5223b98716afda54309dc35fef0ab9..36b0af40d1be932c73cc9acdb6d397d28fcb6860 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2021 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -29,7 +29,7 @@ typedef std::map<std::string, isc::data::ConstElementPtr> ElementMap;
 class DCfgMgrBaseError : public isc::Exception {
 public:
     DCfgMgrBaseError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Configuration Manager
index 53c1e6a871b08dc15eeb61d17ecf23b06ac26537..cc01b5a417285b2d4f26de10c35231b602738123 100644 (file)
@@ -30,7 +30,7 @@ namespace process {
 class InvalidUsage : public isc::Exception {
 public:
     InvalidUsage(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Exception used to convey version info upwards.
@@ -41,21 +41,21 @@ public:
 class VersionMessage : public isc::Exception {
 public:
     VersionMessage(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Exception thrown when the controller launch fails.
 class LaunchError: public isc::Exception {
 public:
     LaunchError (const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Exception thrown when the application process fails.
 class ProcessInitError: public isc::Exception {
 public:
     ProcessInitError (const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Exception thrown when the application process encounters an
@@ -63,14 +63,14 @@ public:
 class ProcessRunError: public isc::Exception {
 public:
     ProcessRunError (const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Exception thrown when the controller encounters an operational error.
 class DControllerBaseError : public isc::Exception {
 public:
     DControllerBaseError (const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Defines a shared pointer to DControllerBase.
index e8775543157c786d55d27c2abb1cabe3d44a1527..2a35d8361b294db60a8f9e389864bcaa3bfe9ee0 100644 (file)
@@ -24,7 +24,7 @@ namespace process {
 class DProcessBaseError : public isc::Exception {
 public:
     DProcessBaseError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief String value for the version-get command.
@@ -95,7 +95,7 @@ public:
         if (!cfg_mgr_) {
             isc_throw (DProcessBaseError, "CfgMgr cannot be null");
         }
-    };
+    }
 
     /// @brief May be used after instantiation to perform initialization unique
     /// to application. It must be invoked prior to invoking run. This would
index d64445a77c5a1a775e097fde2f136a30d1055276..99b841c9d9fcad7c6aa9d32e095535c72d68557d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2021 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2014-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -25,7 +25,7 @@ namespace process {
 class DaemonPIDExists : public Exception {
 public:
     DaemonPIDExists(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Base class for all services
index 31989de9e59bc771ffcd50d9496acfb6b39efa6e..30789d87f6c94d23387c67745ee9a1a361c18455 100644 (file)
@@ -466,5 +466,5 @@ TEST_F(DStubControllerTest, sigtermShutdown) {
     EXPECT_TRUE(elapsed_time.total_milliseconds() < 300);
 }
 
-}; // end of isc::process namespace
-}; // end of isc namespace
+}  // end of isc::process namespace
+}  // end of isc namespace
index b858c7b59f56e39472392a1f828fa9c2ed6e80c6..26dec57b277210f88a3afd79dea493851bec92d0 100644 (file)
@@ -141,7 +141,7 @@ typedef boost::shared_ptr<TcpResponse> TcpResponsePtr;
 class TcpConnectionError : public Exception {
 public:
     TcpConnectionError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Forward declaration to the @ref TcpConnectionPool.
index e1c61dc879a3ac3b4827eb33c5c39819e5e3c321..92a329d3922c68a41f07aaa013d585dbc0730e5f 100644 (file)
@@ -20,7 +20,7 @@ namespace tcp {
 class TcpListenerError : public Exception {
 public:
     TcpListenerError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Implements a class that listens for, accepts, and manages
index 4b08f166806686a7cb8c3a1dcd9b839472ad9bb5..f8adbe23c4ca33768e78eb7cbdfeee8bad29a042 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2015-2017 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2015-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -113,5 +113,5 @@ std::string decommentJSONfile(const std::string& input_file) {
     return (outfile);
 }
 
-}; // end of isc::test namespace
-}; // end of isc namespace
+}  // end of isc::test namespace
+}  // end of isc namespace
index 58fd01570626f357cb5851f1d005f328954c6629..3081f8003ce40bfa77317a0e318c3d63b3d129dd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2015-2017 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2015-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -39,7 +39,7 @@ std::string readFile(const std::string& file_path);
 /// @throw BadValue if the input file cannot be opened
 std::string decommentJSONfile(const std::string& input_file);
 
-}; // end of isc::test namespace
-}; // end of isc namespace
+}  // end of isc::test namespace
+}  // end of isc namespace
 
 #endif // TEST_IO_UTILS_H
index 8dfb5720ff338789377e9e8dce3a4fe378cb5cda..831cbb0066d81bd6a747eb8e36651b4c569959a7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019,2021 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2019-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -63,7 +63,7 @@ public:
 };
 
 
-}; // end of isc::test namespace
-}; // end of isc namespace
+}  // end of isc::test namespace
+}  // end of isc namespace
 
 #endif // SANDBOX_H
index 3a04f41b0b8b28f9abf77981b5f7fa380d6a3e47..31bf6e32d4d54d49a5dc4bb88a52ba7484eeab1b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2017-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -31,7 +31,7 @@ isc::data::ConstElementPtr moveComments(isc::data::ConstElementPtr element);
 
 /// extractComments was removed.
 
-}; // end of isc::test namespace
-}; // end of isc namespace
+}  // end of isc::test namespace
+}  // end of isc namespace
 
 #endif // USER_CONTEXT_UTILS_H
index a4cdeff14d5268ca340e9cc83516c96394c9689d..b23dea700193cb859de5af89f59a47698dd7a411 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2015-2019 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2015-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -50,7 +50,7 @@ std::string ptimeToText(boost::posix_time::ptime t,
 std::string durationToText(boost::posix_time::time_duration dur,
                           size_t fsecs_precision = MAX_FSECS_PRECISION);
 
-}; // end of isc::util namespace
-}; // end of isc namespace
+}  // end of isc::util namespace
+}  // end of isc namespace
 
 #endif
index 65b62ba144430af036aec58ad700dc0f399f819f..f1f444dd069d97fd773d86506e620e87883e2535 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2014-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -22,7 +22,7 @@ namespace util {
 class CSVFileError : public Exception {
 public:
     CSVFileError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Represents a single row of the CSV file.
index e85b5379046c4b18f719b363f8b2f982667be044..a62b3d233859a74f5ad6480b36faf305f9b634a6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2016 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -24,7 +24,7 @@ namespace util {
 class LabeledValueError : public isc::Exception {
 public:
     LabeledValueError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Implements the concept of a constant value with a text label.
index a30640d5ff69c20d2b85a723103af0257bec77e8..43d72b9ce0c488d58bf9dfe9f40f07c7157be4b4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2015 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2015-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -20,7 +20,7 @@ namespace util {
 class PIDFileError : public Exception {
 public:
     PIDFileError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Exception thrown when an error occurs trying to read a PID
@@ -28,7 +28,7 @@ public:
 class PIDCantReadPID : public Exception {
 public:
     PIDCantReadPID(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Class to help with processing PID files
index 6ef523830e0e19c8eb0d7d6a7e135f85fa631009..709187ca380b7d1c44cc4bb18a0e39cba0f506ca 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2021 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -24,7 +24,7 @@ namespace util {
 class StateModelError : public isc::Exception {
 public:
     StateModelError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Define an Event.
index 973601196a2d4d146afb8d28c8be3e4211682bb0..15f7e42251c630d753c698edd933e7f9160a95a5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2012-2021 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2012-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -122,4 +122,4 @@ TEST(TripletTest, sanityCheck) {
 
 }
 
-}; // end of anonymous namespace
+}  // end of anonymous namespace
index cfd18d945c6914ae2ecdb01d77e78d0aec5da4c9..b5bb821d3140ac66fbd4492a8e0d8bde3ca5dc26 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2015,2017 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2015-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -16,7 +16,7 @@ namespace util {
 class VersionedCSVFileError : public Exception {
 public:
     VersionedCSVFileError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Contains the metadata for a single column in a file.
index e6d65f6963e4e20ce0c212c59d49ef8f768b8f04..ca3e3241cd2a64a05b5aa1c2fd293f8965fdaaf3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2015 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2014-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -23,7 +23,7 @@ namespace util {
 class WatchSocketError : public isc::Exception {
 public:
     WatchSocketError(const char* file, size_t line, const char* what) :
-        isc::Exception(file, line, what) { };
+        isc::Exception(file, line, what) { }
 };
 
 /// @brief Provides an IO "ready" semaphore for use with select() or poll()
index 47b72642f2a3a6bcfd94582b3d0fbdcac618973e..54003022fa440bf3b1ad2acaea685f94e9bbf0da 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2020 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2018-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -39,7 +39,7 @@ public:
     };
 
     /// @brief Constructor
-    WatchedThread(){};
+    WatchedThread(){}
 
     /// @brief Virtual destructor
     virtual ~WatchedThread(){}