Skip to content

Commit

Permalink
Delete move constructor and operator
Browse files Browse the repository at this point in the history
  • Loading branch information
VeithMetro authored Oct 11, 2024
1 parent 52ec5d8 commit 06ea899
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions MessageControl/MessageOutput.h
Original file line number Diff line number Diff line change
Expand Up @@ -333,11 +333,13 @@ namespace Publishers {
Core::CriticalSection _adminLock;
};

class Notification : public PluginHost::ISubSystem::INotification, public RPC::IRemoteConnection::INotification {
class Notification : public PluginHost::ISubSystem::INotification {
public:
Notification() = delete;
Notification(const Notification&) = delete;
Notification(Notification&&) = delete;
Notification& operator=(const Notification&) = delete;
Notification& operator=(Notification&&) = delete;

explicit Notification(UDPOutput& parent)
: _parent(parent) {
Expand All @@ -354,16 +356,9 @@ namespace Publishers {
_parent.CloseUDPOutputChannel();
}
}
void Activated(RPC::IRemoteConnection* /* connection */) override {
}
void Deactivated(RPC::IRemoteConnection* /* connection */) override {
}
void Terminated(RPC::IRemoteConnection* /* connection */) override {
}

BEGIN_INTERFACE_MAP(Notification)
INTERFACE_ENTRY(PluginHost::ISubSystem::INotification)
INTERFACE_ENTRY(RPC::IRemoteConnection::INotification)
END_INTERFACE_MAP

private:
Expand Down

0 comments on commit 06ea899

Please sign in to comment.