diff options
Diffstat (limited to 'sample-plugin/sampleplugin.cpp')
-rw-r--r-- | sample-plugin/sampleplugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sample-plugin/sampleplugin.cpp b/sample-plugin/sampleplugin.cpp index 64e5584..baf2786 100644 --- a/sample-plugin/sampleplugin.cpp +++ b/sample-plugin/sampleplugin.cpp @@ -2,7 +2,7 @@ #include "sampleplugin.hpp" qmpSamplePlugin::qmpSamplePlugin(qmpPluginAPI* _api){api=_api;} -qmpSamplePlugin::~qmpSamplePlugin(){api=NULL;} +qmpSamplePlugin::~qmpSamplePlugin(){api=nullptr;} void qmpSamplePlugin::init() {fputs("Hello world from plugin init!\n",stderr);} void qmpSamplePlugin::deinit() |