Mercurial > hg > orthanc
diff Core/MultiThreading/BagOfTasksProcessor.h @ 2223:29689b30f9ae
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 13 Dec 2016 15:28:05 +0100 |
parents | 5b818f677dd6 |
children | a3a65de1840f |
line wrap: on
line diff
--- a/Core/MultiThreading/BagOfTasksProcessor.h Tue Dec 13 14:34:33 2016 +0100 +++ b/Core/MultiThreading/BagOfTasksProcessor.h Tue Dec 13 15:28:05 2016 +0100 @@ -64,10 +64,10 @@ { } - Bag(size_t size) : - size_(size), - done_(0), - status_(BagStatus_Running) + explicit Bag(size_t size) : + size_(size), + done_(0), + status_(BagStatus_Running) { } }; @@ -140,7 +140,7 @@ }; - BagOfTasksProcessor(size_t countThreads); + explicit BagOfTasksProcessor(size_t countThreads); ~BagOfTasksProcessor();