|
From: <ric...@us...> - 2009-09-26 20:28:32
|
Revision: 1020
http://loki-lib.svn.sourceforge.net/loki-lib/?rev=1020&view=rev
Author: rich_sposato
Date: 2009-09-26 20:28:24 +0000 (Sat, 26 Sep 2009)
Log Message:
-----------
Added explicit qualifier to constructor.
Modified Paths:
--------------
trunk/include/loki/LockingPtr.h
Modified: trunk/include/loki/LockingPtr.h
===================================================================
--- trunk/include/loki/LockingPtr.h 2009-09-26 20:27:34 UTC (rev 1019)
+++ trunk/include/loki/LockingPtr.h 2009-09-26 20:28:24 UTC (rev 1020)
@@ -60,7 +60,7 @@
/** Constructor locks mutex associated with an object.
@param lockpair a std::pair of pointers to the object and the mutex
*/
- LockingPtr( Pair lockpair )
+ explicit LockingPtr( Pair lockpair )
: pObject_( const_cast< SharedObject * >( lockpair.first ) ),
pMutex_( lockpair.second )
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|