• Benoit Eudier's avatar
    Do not use pointer to create the reactor · 7d8ffe52
    Benoit Eudier authored
    Reactor is not shared. It is owned by listener, create in its
    constructor and is not shared with anybody, so created in listener's
    destructor. Here a unique_ptr would do the trick but not using a ptr
    works fine and remove complexity a bit.
    7d8ffe52
listener.h 1.75 KB