summaryrefslogtreecommitdiffstats
path: root/src/PatchageEvent.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/PatchageEvent.hpp')
-rw-r--r--src/PatchageEvent.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/PatchageEvent.hpp b/src/PatchageEvent.hpp
index 2c9efb4..3adae18 100644
--- a/src/PatchageEvent.hpp
+++ b/src/PatchageEvent.hpp
@@ -51,7 +51,7 @@ public:
};
explicit PatchageEvent(Type type = NULL_EVENT)
- : _str(NULL)
+ : _str(nullptr)
, _type(type)
{}
@@ -62,14 +62,14 @@ public:
template<typename P>
PatchageEvent(Type type, P port)
- : _str(NULL)
+ : _str(nullptr)
, _port_1(port)
, _type(type)
{}
template<typename P>
PatchageEvent(Type type, P port_1, P port_2)
- : _str(NULL)
+ : _str(nullptr)
, _port_1(port_1, false)
, _port_2(port_2, true)
, _type(type)