summaryrefslogtreecommitdiffstats
path: root/kmrml/kmrml/lib/mrml_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmrml/kmrml/lib/mrml_utils.cpp')
-rw-r--r--kmrml/kmrml/lib/mrml_utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmrml/kmrml/lib/mrml_utils.cpp b/kmrml/kmrml/lib/mrml_utils.cpp
index 314bbc7b..43e84dae 100644
--- a/kmrml/kmrml/lib/mrml_utils.cpp
+++ b/kmrml/kmrml/lib/mrml_utils.cpp
@@ -34,7 +34,7 @@ using namespace KMrml;
KStaticDeleter<Util> utils_sd;
-Util *Util::s_self = 0L;
+Util *Util::s_self = nullptr;
Util::Util()
{
@@ -56,7 +56,7 @@ Util::~Util()
Util *Util::self()
{
if ( !s_self )
- s_self = utils_sd.setObject( new Util() );
+ utils_sd.setObject( s_self, new Util() );
return s_self;
}