movable quarded_ptr: SplitList
[libcds.git] / cds / gc / impl / dhp_decl.h
index a0e4d4af55e28d23c49289de2721192823d266d8..333c6d7985544e54b22ce823414d227181b65b9c 100644 (file)
@@ -450,13 +450,13 @@ namespace cds { namespace gc {
 
             //@cond
             /// Initializes guarded pointer with \p p
-            guarded_ptr( guarded_type * p ) CDS_NOEXCEPT
+            explicit guarded_ptr( guarded_type * p ) CDS_NOEXCEPT
             {
                 alloc_guard();
                 assert( m_guard.is_initialized() );
                 m_guard.set( p );
             }
-            guarded_ptr( std::nullptr_t ) CDS_NOEXCEPT
+            explicit guarded_ptr( std::nullptr_t ) CDS_NOEXCEPT
             {}
             //@endcond