Add a Notification constructor that also sets client

This commit is contained in:
Andrew Johnson
2021-01-05 11:01:02 -08:00
committed by mdavidsaver
co-authored by mdavidsaver
parent e00ccbeb9c
commit e0c2496e52
+3 -1
View File
@@ -36,7 +36,9 @@ public:
class Notification
{
public:
Notification() : queued(false) {}
Notification(void) : queued(false) {}
explicit Notification(NotifierClientPtr const &c) :
client(c), queued(false) {}
void setClient(NotifierClientPtr const &client) {
this->client = client;
}