diff options
| author | 2016-04-30 18:23:42 +0100 | |
|---|---|---|
| committer | 2016-04-30 18:50:44 +0100 | |
| commit | 505d0768f8392e3c4775425dd97f41e1c829ef44 (patch) | |
| tree | 55dfa35f2e180b4186baf00ffbfd2ee38c0f1c18 /src/modules/socketspy | |
| parent | Update my clang-format to 3.8.0 (diff) | |
| download | KVIrc-505d0768f8392e3c4775425dd97f41e1c829ef44.tar.gz KVIrc-505d0768f8392e3c4775425dd97f41e1c829ef44.tar.bz2 KVIrc-505d0768f8392e3c4775425dd97f41e1c829ef44.zip | |
Apply clang-tidy: modernize-use-nullptr
Diffstat (limited to 'src/modules/socketspy')
| -rw-r--r-- | src/modules/socketspy/libkvisocketspy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/socketspy/libkvisocketspy.cpp b/src/modules/socketspy/libkvisocketspy.cpp index 81995cc5f..9ecaa2863 100644 --- a/src/modules/socketspy/libkvisocketspy.cpp +++ b/src/modules/socketspy/libkvisocketspy.cpp @@ -30,7 +30,7 @@ #include <QSplitter> -KviPointerList<SocketSpyWindow> * g_pSocketSpyWindowList = 0; +KviPointerList<SocketSpyWindow> * g_pSocketSpyWindowList = nullptr; /* @doc: socketspy.open @@ -71,7 +71,7 @@ static bool socketspy_module_cleanup(KviModule *) while(g_pSocketSpyWindowList->first()) g_pSocketSpyWindowList->first()->die(); delete g_pSocketSpyWindowList; - g_pSocketSpyWindowList = 0; + g_pSocketSpyWindowList = nullptr; return true; } |
