Add a Notification constructor that also sets client

This commit is contained in:
Andrew Johnson authored and mdavidsaver committed 2021-01-05 11:01:02 -08:00
1 parent e00ccbeb9c
commit e0c2496e52
1 file changed
+3 -1
+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;
}