diff options
author | Goraf <22941576+Goraf@users.noreply.github.com> | 2018-02-24 15:32:06 +0100 |
---|---|---|
committer | Goraf <22941576+Goraf@users.noreply.github.com> | 2018-02-24 18:20:46 +0100 |
commit | 1c0172cca4f1e90679321912e20436a7f42f122d (patch) | |
tree | 77a544d2c09332ec176f42ebcf58a40d9c5d2b93 /protocols/Tox/src/tox_thread.h | |
parent | dff565f40105b20b0e8e4dba1f48ccc9b8e7ff44 (diff) |
more nullptr
Diffstat (limited to 'protocols/Tox/src/tox_thread.h')
-rw-r--r-- | protocols/Tox/src/tox_thread.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Tox/src/tox_thread.h b/protocols/Tox/src/tox_thread.h index 37372177dc..d47138822e 100644 --- a/protocols/Tox/src/tox_thread.h +++ b/protocols/Tox/src/tox_thread.h @@ -7,8 +7,8 @@ private: Tox *tox;
public:
- CToxThread(Tox_Options *options, TOX_ERR_NEW *error = NULL)
- : tox(NULL)
+ CToxThread(Tox_Options *options, TOX_ERR_NEW *error = nullptr)
+ : tox(nullptr)
{
tox = tox_new(options, error);
}
@@ -19,7 +19,7 @@ public: if (tox)
{
tox_kill(tox);
- tox = NULL;
+ tox = nullptr;
}
}
|