diff options
author | OBATA Akio <obache@wizdas.com> | 2022-01-26 18:06:18 +0900 |
---|---|---|
committer | OBATA Akio <obache@wizdas.com> | 2022-01-27 17:07:38 +0900 |
commit | 5e8185513d4712ebbb649bbbfcd2d4ed75ffff66 (patch) | |
tree | b180201fa0e8cb0175b1ae105d74c0e300b28498 /kmrml/kmrml/lib/mrml_utils.cpp | |
parent | 052f82743e6a018edaeede3b81955b2121fa6312 (diff) | |
download | tdegraphics-5e8185513d4712ebbb649bbbfcd2d4ed75ffff66.tar.gz tdegraphics-5e8185513d4712ebbb649bbbfcd2d4ed75ffff66.zip |
Supersedes deprecated function callsfeat/supersedes-deprecated
Signed-off-by: OBATA Akio <obache@wizdas.com>
Diffstat (limited to 'kmrml/kmrml/lib/mrml_utils.cpp')
-rw-r--r-- | kmrml/kmrml/lib/mrml_utils.cpp | 4 |
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; } |