mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
eliminate some overhead
This commit is contained in:
parent
2d513277f2
commit
4582a4fd95
6 changed files with 25 additions and 3 deletions
3
Event.h
3
Event.h
|
@ -27,8 +27,9 @@ namespace i2p
|
|||
private:
|
||||
EventListener * m_listener = nullptr;
|
||||
};
|
||||
|
||||
#ifdef WITH_EVENTS
|
||||
extern EventCore core;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
void EmitEvent(const EventType & ev);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue