]> granicus.if.org Git - icinga2/commitdiff
Make SocketEventDescriptor#EventInterface a SocketEvents::Ptr
authorAlexander A. Klimov <alexander.klimov@icinga.com>
Tue, 24 Jul 2018 12:40:35 +0000 (14:40 +0200)
committerMichael Friedrich <michael.friedrich@icinga.com>
Tue, 30 Oct 2018 12:46:20 +0000 (13:46 +0100)
refs #6477

lib/base/socketevents.hpp

index 26dc7701909ba82562ce1a98e36251d99b94e1d3..45fad4617be868bcbe9ecbf18e04da6f79afd8d0 100644 (file)
@@ -82,7 +82,7 @@ private:
 struct SocketEventDescriptor
 {
        int Events{POLLIN};
-       SocketEvents *EventInterface{nullptr};
+       SocketEvents::Ptr EventInterface;
        Object *LifesupportObject{nullptr};
 };