| 46 | } // namespace |
| 47 | |
| 48 | Event::Event(std::string const& topic, EventProperties const properties) : topic(topic), properties(properties) |
| 49 | { |
| 50 | if (!ValidateTopic(topic)) |
| 51 | { |
| 52 | throw std::logic_error("The topic does not match the expected format."); |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | bool |
| 57 | Event::operator==(Event const& other) const |
nothing calls this directly
no test coverage detected