]> git.tdb.fi Git - libs/core.git/blobdiff - source/core/thread.cpp
Use nullptr instead of 0 for pointers
[libs/core.git] / source / core / thread.cpp
index 841cc3f48e8111a894dc9151268fce3858dcd4f0..e860d6758f9e048f070b67855e7d7810456e7c48 100644 (file)
@@ -51,7 +51,7 @@ ThreadReturn THREAD_CALL Thread::Private::main_wrapper(void *arg)
        thread->platform_setname();
        thread->main();
        thread->_state = FINISHED;
-       return 0;
+       return nullptr;
 }
 
 } // namespace Msp