summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/src/tox_thread.h')
-rw-r--r--protocols/Tox/src/tox_thread.h6
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;
}
}