Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Copyright update 2021
[modules/smesh.git]
/
src
/
SMDS
/
SMDS_Position.hxx
diff --git
a/src/SMDS/SMDS_Position.hxx
b/src/SMDS/SMDS_Position.hxx
index 62c4042d3322fd09c299aa3afd83d3112b4408c7..3bd79d86c9a8d113d6b3c7dcb484c73749d7e584 100644
(file)
--- a/
src/SMDS/SMDS_Position.hxx
+++ b/
src/SMDS/SMDS_Position.hxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
16
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-20
21
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
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-54,7
+54,7
@@
class SMDS_EXPORT SMDS_Position
*/
template<class T>
*/
template<class T>
-class SMDS_
EXPORT SMDS_
Ptr : public std::unique_ptr< T >
+class SMDS_Ptr : public std::unique_ptr< T >
{
bool myIsOwner;
{
bool myIsOwner;
@@
-62,7
+62,7
@@
class SMDS_EXPORT 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( 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 )
{ this->swap( const_cast<SMDS_Ptr&>( from )); }
SMDS_Ptr& operator=( const SMDS_Ptr& from )