X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMDS%2FSMDS_Position.hxx;fp=src%2FSMDS%2FSMDS_Position.hxx;h=7e8dd30d58a102284743f5c88c953a6e6c045069;hb=242fecaab114e7ad3b26ec3096d016e8e1342697;hp=30c09d93ec357742bb37da29b686a012c8ebd5f0;hpb=9b08e00e6ab80e13cffcda319be3baf22a829bcf;p=modules%2Fsmesh.git diff --git a/src/SMDS/SMDS_Position.hxx b/src/SMDS/SMDS_Position.hxx index 30c09d93e..7e8dd30d5 100644 --- a/src/SMDS/SMDS_Position.hxx +++ b/src/SMDS/SMDS_Position.hxx @@ -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( from )); } SMDS_Ptr& operator=( const SMDS_Ptr& from )