Use nullptr (#816)

Changes applied by 'clang-modernize -use-nullptr [...]'
This commit is contained in:
J-P Nurmi
2015-02-25 09:19:28 +01:00
parent 26cc16caa7
commit 70c0ffb10b
38 changed files with 246 additions and 246 deletions

View File

@@ -68,7 +68,7 @@ void CThreadPool::handlePipeReadable() const {
}
CJob *CThreadPool::getJobFromPipe() const {
CJob* a = NULL;
CJob* a = nullptr;
ssize_t need = sizeof(a);
ssize_t r = read(m_iJobPipe[0], &a, need);
if (r != need) {