X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Fmutex.h;fp=source%2Fcore%2Fmutex.h;h=6582074e182c988c3d813671b3cb92668c27ceeb;hp=dc9a2285be5919c519c7d67d7adfdee9ebea0711;hb=41363aed34382386f915f17c1a961750b4fdcb14;hpb=26a5878092f6547e701fd1a33abbf1878d26ab70 diff --git a/source/core/mutex.h b/source/core/mutex.h index dc9a228..6582074 100644 --- a/source/core/mutex.h +++ b/source/core/mutex.h @@ -17,7 +17,7 @@ class Mutex: private NonCopyable private: struct Private; - Private *priv = 0; + Private *priv = nullptr; public: Mutex(); @@ -67,7 +67,7 @@ public: T &operator*() const { return *data; } T *operator->() const { return data; } - void clear() { mutex = 0; data = 0; } + void clear() { mutex = nullptr; data = nullptr; } }; }