Skip to content
Snippets Groups Projects
Commit 6d16ef26 authored by Fabian Reister's avatar Fabian Reister
Browse files

explicit null-pointer check

parent e90a68f9
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ namespace armarx::armem::client::plugins
ReaderWriterPlugin(ManagedIceObject& parent, const std::string& pre) :
ComponentPlugin(parent, pre)
{
if (not armemPlugin)
if (armemPlugin == nullptr)
{
addPlugin(armemPlugin);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment