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
Fix usage of Boost smart pointers for compatibility with Boost >= 1.53
[modules/smesh.git]
/
src
/
MEDWrapper
/
Base
/
MED_Wrapper.hxx
diff --git
a/src/MEDWrapper/Base/MED_Wrapper.hxx
b/src/MEDWrapper/Base/MED_Wrapper.hxx
index cd4e8efc3188a7a0df67e65cac76def6ecc7452b..d64d2b853c430dbdf323f6bc5efa97b4ee41af90 100644
(file)
--- a/
src/MEDWrapper/Base/MED_Wrapper.hxx
+++ b/
src/MEDWrapper/Base/MED_Wrapper.hxx
@@
-1002,14
+1002,14
@@
namespace MED
template<class Y>
SharedPtr(SharedPtr<Y> const & r):
template<class Y>
SharedPtr(SharedPtr<Y> const & r):
- boost::shared_ptr<TWrapper>(
r,boost::detail::dynamic_cast_tag(
))
+ boost::shared_ptr<TWrapper>(
boost::dynamic_pointer_cast<TWrapper,Y>(r
))
{}
template<class Y>
SharedPtr&
operator=(SharedPtr<Y> const & r)
{
{}
template<class Y>
SharedPtr&
operator=(SharedPtr<Y> const & r)
{
-
boost::shared_ptr<TWrapper>(r,boost::detail::dynamic_cast_tag()
).swap(*this);
+
SharedPtr<TWrapper>(r
).swap(*this);
return *this;
}
return *this;
}