X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ac25e4c7cc9af2408a8768aa0254cee3de4fc3b1..783573d576fa9ac43c007c6031bce185d882f92b:/include/simgrid/s4u/Mutex.hpp diff --git a/include/simgrid/s4u/Mutex.hpp b/include/simgrid/s4u/Mutex.hpp index 05199bd889..0d1f2277a0 100644 --- a/include/simgrid/s4u/Mutex.hpp +++ b/include/simgrid/s4u/Mutex.hpp @@ -37,7 +37,7 @@ XBT_PUBLIC_CLASS Mutex { friend ConditionVariable; friend simgrid::simix::MutexImpl; simgrid::simix::MutexImpl* mutex_; - Mutex(simgrid::simix::MutexImpl * mutex) : mutex_(mutex) {} + explicit Mutex(simgrid::simix::MutexImpl * mutex) : mutex_(mutex) {} /* refcounting of the intrusive_ptr is delegated to the implementation object */ friend void intrusive_ptr_add_ref(Mutex* mutex)