diff options
author | Adriana Kobylak <anoo@us.ibm.com> | 2017-01-06 11:56:41 -0600 |
---|---|---|
committer | Adriana Kobylak <anoo@us.ibm.com> | 2017-01-30 12:57:25 -0600 |
commit | f477fe2945bdbd24817bdc690c17242e30069f4f (patch) | |
tree | f93677ed96095e7f622400f75d41dd25778144a0 /xyz | |
parent | 88d7cf8da4a7213e4f91d3eca35ec6a2fd8f9ca0 (diff) | |
download | phosphor-logging-f477fe2945bdbd24817bdc690c17242e30069f4f.tar.gz phosphor-logging-f477fe2945bdbd24817bdc690c17242e30069f4f.zip |
log_manager: Cleanup main function
The design direction changed after the commit that added the
log_manager main function, so updating it to the correct usage.
Change-Id: I88459fb65ba6b8272f0f9f85b55f9f837487ffea
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Diffstat (limited to 'xyz')
-rw-r--r-- | xyz/openbmc_project/Logging/Internal/Manager/server.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/xyz/openbmc_project/Logging/Internal/Manager/server.hpp b/xyz/openbmc_project/Logging/Internal/Manager/server.hpp index 3bec2a9..bbbdef8 100644 --- a/xyz/openbmc_project/Logging/Internal/Manager/server.hpp +++ b/xyz/openbmc_project/Logging/Internal/Manager/server.hpp @@ -23,15 +23,16 @@ class Manager * Not allowed: * - Default constructor to avoid nullptrs. * - Copy operations due to internal unique_ptr. + * - Move operations due to 'this' being registered as the + * 'context' with sdbus. * Allowed: - * - Move operations. * - Destructor. */ Manager() = delete; Manager(const Manager&) = delete; Manager& operator=(const Manager&) = delete; - Manager(Manager&&) = default; - Manager& operator=(Manager&&) = default; + Manager(Manager&&) = delete; + Manager& operator=(Manager&&) = delete; virtual ~Manager() = default; /** @brief Constructor to put object onto bus at a dbus path. |