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/PatchageModule.cpp | |
parent | 976d937b2fdf24c76b6b5575afc6cbe222a87b63 (diff) | |
download | patchage-8edaca929cbc619d47e799f19494d1b3b6c4dd2f.tar.gz patchage-8edaca929cbc619d47e799f19494d1b3b6c4dd2f.tar.bz2 patchage-8edaca929cbc619d47e799f19494d1b3b6c4dd2f.zip |
Use nullptr
Diffstat (limited to 'src/PatchageModule.cpp')
-rw-r--r-- | src/PatchageModule.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/PatchageModule.cpp b/src/PatchageModule.cpp index cf2ba71..0b09a4f 100644 --- a/src/PatchageModule.cpp +++ b/src/PatchageModule.cpp @@ -1,5 +1,5 @@ /* This file is part of Patchage. - * Copyright 2010-2014 David Robillard <http://drobilla.net> + * Copyright 2010-2020 David Robillard <d@drobilla.net> * * Patchage is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free @@ -27,7 +27,7 @@ PatchageModule::PatchageModule(Patchage* app, double y) : Module(*app->canvas().get(), name, x, y) , _app(app) - , _menu(NULL) + , _menu(nullptr) , _name(name) , _type(type) { @@ -44,7 +44,7 @@ PatchageModule::~PatchageModule() { _app->canvas()->remove_module(this); delete _menu; - _menu = NULL; + _menu = nullptr; } void @@ -153,5 +153,5 @@ PatchageModule::get_port(const std::string& name) } } - return NULL; + return nullptr; } |