]> git.tdb.fi Git - libs/core.git/blobdiff - source/core/unix/semaphore.cpp
Use nullptr instead of 0 for pointers
[libs/core.git] / source / core / unix / semaphore.cpp
index 6a4bacf9defddb911244ba44ced8fd82121e6d97..f19bdab92d4da8c6ad636a8e7c796c6234f889fe 100644 (file)
@@ -22,7 +22,7 @@ struct Semaphore::Private
 Semaphore::Semaphore(unsigned limit):
        priv(new Private)
 {
-       pthread_cond_init(&priv->cond, 0);
+       pthread_cond_init(&priv->cond, nullptr);
        priv->limit = limit;
 }