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
SALOME_TESTS/Grids/smesh/mesh_Projection_2D_00/A0
[modules/smesh.git]
/
src
/
MEDWrapper
/
Base
/
MED_SharedPtr.hxx
diff --git
a/src/MEDWrapper/Base/MED_SharedPtr.hxx
b/src/MEDWrapper/Base/MED_SharedPtr.hxx
index d0f4746c6eb475e94e5dae7b28cd9fb5dc98432e..0c52a2062a0843557867e42439426221bb8c95ef 100644
(file)
--- a/
src/MEDWrapper/Base/MED_SharedPtr.hxx
+++ b/
src/MEDWrapper/Base/MED_SharedPtr.hxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
3
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
4
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
@@
-6,7
+6,7
@@
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License
, or (at your option) any later version
.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
@@
-19,7
+19,6
@@
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
-//
#ifndef MED_SharedPtr_HeaderFile
#define MED_SharedPtr_HeaderFile
#ifndef MED_SharedPtr_HeaderFile
#define MED_SharedPtr_HeaderFile
@@
-49,7
+48,7
@@
namespace MED
//! Construct the class by any specialisation of the class
template<class Y>
SharedPtr(SharedPtr<Y> const & r):
//! Construct the class by any specialisation of the class
template<class Y>
SharedPtr(SharedPtr<Y> const & r):
- boost::shared_ptr<T>(
r,boost::detail::dynamic_cast_tag(
))
+ boost::shared_ptr<T>(
boost::dynamic_pointer_cast<T,Y>(r
))
{}
//! Copy-constructor
{}
//! Copy-constructor
@@
-57,7
+56,7
@@
namespace MED
SharedPtr&
operator=(SharedPtr<Y> const & r)
{
SharedPtr&
operator=(SharedPtr<Y> const & r)
{
-
boost::shared_ptr<T>(r,boost::detail::dynamic_cast_tag()
).swap(*this);
+
SharedPtr<T>(r
).swap(*this);
return *this;
}
return *this;
}