Skip to content

Commit 426adc5

Browse files
committed
Initial Commit
1 parent b9a122a commit 426adc5

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/ESPressio_IEvent.hpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ namespace ESPressio {
1414
static bool operator()(const MyClass& a, const MyClass& b) const {
1515
return a._classID < b._classID;
1616
}
17+
18+
static bool operator==(const MyClass& other) const {
19+
return _classID == other._classID;
20+
}
21+
22+
static void tmpSetClassID(uint16_t classId) {
23+
_classId = classId;
24+
}
1725
};
1826

1927
}

0 commit comments

Comments
 (0)