diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-12-28 20:45:45 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-12-28 20:45:45 +0900 |
commit | 82b07f1a3cc29b9785c292174343b464a774a722 (patch) | |
tree | 7a3501a01cf6e6d645929063ac601f4d3eb91edb /core/polkit-tqt-authority.h | |
parent | 416bed9bc124e24cc1351c7d8e5810ca7570a023 (diff) | |
download | polkit-tqt-82b07f1a3cc29b9785c292174343b464a774a722.tar.gz polkit-tqt-82b07f1a3cc29b9785c292174343b464a774a722.zip |
Code improvements based on c++11 standard (ranged for loops and nullptr).
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'core/polkit-tqt-authority.h')
-rw-r--r-- | core/polkit-tqt-authority.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/polkit-tqt-authority.h b/core/polkit-tqt-authority.h index 4df6a8a02..d4e0e0b53 100644 --- a/core/polkit-tqt-authority.h +++ b/core/polkit-tqt-authority.h @@ -137,7 +137,7 @@ class POLKIT_TQT_EXPORT Authority : public TQObject * * \return The current authority instance */ - static Authority* instance(PolkitAuthority *authority = NULL); + static Authority* instance(PolkitAuthority *authority = nullptr); ~Authority(); @@ -513,7 +513,7 @@ class POLKIT_TQT_EXPORT Authority : public TQObject Authority(const Authority&); Authority& operator=(const Authority&); - Authority(TQObject *parent = NULL); + Authority(TQObject *parent = nullptr); static Authority *m_theAuthority; |