summaryrefslogtreecommitdiff
path: root/embedserv/source/inprocserv/smartpointer.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'embedserv/source/inprocserv/smartpointer.hxx')
-rw-r--r--embedserv/source/inprocserv/smartpointer.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/embedserv/source/inprocserv/smartpointer.hxx b/embedserv/source/inprocserv/smartpointer.hxx
index 62011df14556..dab46ada769a 100644
--- a/embedserv/source/inprocserv/smartpointer.hxx
+++ b/embedserv/source/inprocserv/smartpointer.hxx
@@ -50,7 +50,7 @@ public:
m_pInterface->AddRef();
}
- ComSmart( T* pInterface )
+ explicit ComSmart( T* pInterface )
: m_pInterface( pInterface )
{
if ( m_pInterface != NULL )
@@ -136,7 +136,7 @@ class CSGuard
CRITICAL_SECTION* m_pCriticalSection;
public:
- CSGuard( CRITICAL_SECTION* pCS )
+ explicit CSGuard( CRITICAL_SECTION* pCS )
: m_pCriticalSection( pCS )
{
if ( m_pCriticalSection )
@@ -155,7 +155,7 @@ class ULONGGuard
ULONG* m_pValue;
public:
- ULONGGuard( ULONG* pValue )
+ explicit ULONGGuard( ULONG* pValue )
: m_pValue( pValue )
{
if ( m_pValue )