diff options
author | Ed Tanous <edtanous@google.com> | 2022-01-07 20:18:40 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2022-01-12 22:00:37 +0300 |
commit | ecd6a3a20ab128ae9d3e356d6250695800dc13be (patch) | |
tree | 658b040f57c6a4e3ee31b567606551f598a7b540 /redfish-core/include/event_service_manager.hpp | |
parent | 543f44000a992870ff76e76888dd589a3a31ed4e (diff) | |
download | bmcweb-ecd6a3a20ab128ae9d3e356d6250695800dc13be.tar.xz |
Enable cppcoreguidelines-special-member-functions checks
Part of enforcing cpp core guidelines involves explicitly including all
constructors required on a non-trivial class. We were missing quite a
few. In all cases, the copy/move/and operator= methods are simply
deleted.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: Ie8d6e8bf2bc311fa21a9ae48b0d61ee5c1940999
Diffstat (limited to 'redfish-core/include/event_service_manager.hpp')
-rw-r--r-- | redfish-core/include/event_service_manager.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/redfish-core/include/event_service_manager.hpp b/redfish-core/include/event_service_manager.hpp index 642a3029b5..7cb5cc7cb7 100644 --- a/redfish-core/include/event_service_manager.hpp +++ b/redfish-core/include/event_service_manager.hpp @@ -588,6 +588,7 @@ class EventServiceManager EventServiceManager& operator=(const EventServiceManager&) = delete; EventServiceManager(EventServiceManager&&) = delete; EventServiceManager& operator=(EventServiceManager&&) = delete; + ~EventServiceManager() = default; static EventServiceManager& getInstance() { |