movable quarded_ptr: SplitList
[libcds.git] / cds / gc / impl / hp_decl.h
index 72de7d0e78a6338fe861913fcb83feaa3d2115d6..56c1db6ffa53b62791ab2098aac71b90b525397f 100644 (file)
@@ -444,13 +444,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_pGuard );
                 m_pGuard->set(p);
             }
-            guarded_ptr( std::nullptr_t ) CDS_NOEXCEPT
+            explicit guarded_ptr( std::nullptr_t ) CDS_NOEXCEPT
                 : m_pGuard( nullptr )
             {}
             //@endcond