Salome HOME
#18963 Minimize compiler warnings
[modules/smesh.git] / src / SMDS / SMDS_Position.hxx
index 30c09d93ec357742bb37da29b686a012c8ebd5f0..7e8dd30d58a102284743f5c88c953a6e6c045069 100644 (file)
@@ -62,7 +62,7 @@ class SMDS_Ptr : public std::unique_ptr< T >
   SMDS_Ptr( T * pos = (T *) 0, bool isOwner=true ):
     std::unique_ptr< T >( pos ), myIsOwner( isOwner ) {}
 
-  SMDS_Ptr( const SMDS_Ptr& from ) : myIsOwner( from.myIsOwner )
+  SMDS_Ptr( const SMDS_Ptr& from ) : std::unique_ptr< T >(), myIsOwner( from.myIsOwner )
   { this->swap( const_cast<SMDS_Ptr&>( from )); }
 
   SMDS_Ptr& operator=( const SMDS_Ptr& from  )