X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMDS%2FSMDS_Position.hxx;h=3bd79d86c9a8d113d6b3c7dcb484c73749d7e584;hb=3dd9e6ddb38af2ffe09437e323d83ca3aea1b653;hp=31fdde7bc31b6e01603fbbe855a15fc60532c8e8;hpb=8d297d6698f361d4f2dde723050bcfbaea050920;p=modules%2Fsmesh.git diff --git a/src/SMDS/SMDS_Position.hxx b/src/SMDS/SMDS_Position.hxx index 31fdde7bc..3bd79d86c 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-2021 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 )