diff options
author | David Robillard <d@drobilla.net> | 2020-11-27 17:57:35 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-27 21:42:51 +0100 |
commit | 8edaca929cbc619d47e799f19494d1b3b6c4dd2f (patch) | |
tree | 8cb043ac82d7519ca4b6de2791cbb02d4e2b218a /src/PatchageEvent.hpp | |
parent | 976d937b2fdf24c76b6b5575afc6cbe222a87b63 (diff) | |
download | patchage-8edaca929cbc619d47e799f19494d1b3b6c4dd2f.tar.gz patchage-8edaca929cbc619d47e799f19494d1b3b6c4dd2f.tar.bz2 patchage-8edaca929cbc619d47e799f19494d1b3b6c4dd2f.zip |
Use nullptr
Diffstat (limited to 'src/PatchageEvent.hpp')
-rw-r--r-- | src/PatchageEvent.hpp | 6 |
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) |