Update event.h

This commit is contained in:
Nick Kinnan 2024-10-15 22:55:37 -07:00 committed by GitHub
parent 0e0feec862
commit dbb7703efb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,7 +23,7 @@ namespace event {
class Event : public EntityBase, public EntityBase_DeviceClass {
public:
const std::string *last_event_type_;
const std::string *last_event_type;
void trigger(const std::string &event_type);
void set_event_types(const std::set<std::string> &event_types) { this->types_ = event_types; }