X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMDS%2FSMDS_Position.hxx;h=ea8591706c9fffc4cbfa5ab63f2784a36aa733ed;hb=499f29d24922cec66e41b41a0039a954993bc6df;hp=31fdde7bc31b6e01603fbbe855a15fc60532c8e8;hpb=c5f8cda9bf008812f728073dd5cc04f6c5082bbb;p=modules%2Fsmesh.git diff --git a/src/SMDS/SMDS_Position.hxx b/src/SMDS/SMDS_Position.hxx index 31fdde7bc..ea8591706 100644 --- a/src/SMDS/SMDS_Position.hxx +++ b/src/SMDS/SMDS_Position.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2022 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -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 )