Skip to content

Use make_unique to construct EventInfo

Julien Esseiva requested to merge juesseiv/athena:make-unique-eventinfo into main

Use make_unique to construct EventInfo in the event loop. Other than making memory ownership more explicit and getting rid of naked news, it has the small advantage of not leaking memory if the EventInfo constructor throws, which can happen as we allocate a vector during construction.

Merge request reports

Loading