Removed unnecessary use of std::string for event management, in an attempt to reduce memory consumption.
Now using 16 bit enums for event types.
This commit is contained in:
@@ -46,5 +46,8 @@ namespace Bloom::Events
|
||||
template <class EventType>
|
||||
using SharedEventPointer = std::shared_ptr<const EventType>;
|
||||
|
||||
template <class EventType>
|
||||
using SharedEventPointerNonConst = std::shared_ptr<EventType>;
|
||||
|
||||
using SharedGenericEventPointer = SharedEventPointer<Event>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user