diff Core/MultiThreading/Semaphore.h @ 2223:29689b30f9ae

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 13 Dec 2016 15:28:05 +0100
parents 68510b1c2433
children a3a65de1840f
line wrap: on
line diff
--- a/Core/MultiThreading/Semaphore.h	Tue Dec 13 14:34:33 2016 +0100
+++ b/Core/MultiThreading/Semaphore.h	Tue Dec 13 15:28:05 2016 +0100
@@ -57,7 +57,7 @@
       Semaphore&  that_;
 
     public:
-      Locker(Semaphore& that) :
+      explicit Locker(Semaphore& that) :
         that_(that)
       {
         that_.Acquire();