Commit bfa31bb2 authored by Laurent Montel's avatar Laurent Montel 😁

Use nullptr here

parent d7490f1d
......@@ -85,7 +85,7 @@ private:
public:
virtual ~PluginLoader()
{
mSelf = 0;
mSelf = nullptr;
}
/** Returns the single instance of this loader. */
......
......@@ -40,7 +40,7 @@ struct DeleteAndSetToZero {
void operator()(const T *&t)
{
delete t;
t = 0;
t = nullptr;
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment