We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 426adc5 commit 9b09d66Copy full SHA for 9b09d66
1 file changed
src/ESPressio_IEvent.hpp
@@ -1,22 +1,19 @@
1
#pragma once
2
3
#include <ESPressio_Persistent.hpp>
4
+#include <cstdint>
5
6
using namespace ESPressio::Base;
7
namespace ESPressio {
8
9
namespace Event {
10
11
class IEvent : public Persistent<IEvent> {
- private:
12
- static uint16_t _classId = 0;
+ protected:
13
+ static uint16_t _classId;
14
public:
- static bool operator()(const MyClass& a, const MyClass& b) const {
15
- return a._classID < b._classID;
16
- }
17
-
18
- static bool operator==(const MyClass& other) const {
19
- return _classID == other._classID;
+ static uint16_t GetClassID() {
+ return _classId;
20
}
21
22
static void tmpSetClassID(uint16_t classId) {
0 commit comments