Fix a "typo"?

Actually, the difference between `boost::disable_if` and
`boost::lazy_disable_if` is really important (one "dereference" of
`::type` or not). The fact is that I had not tested correctly: I had
tested only with `test/PMP`, whereas there was a compilation error in
`examples/PMP`.
This commit is contained in:
Laurent Rineau 2016-05-06 11:59:27 +02:00
parent 91669afc36
commit 5ac3473d96
1 changed files with 1 additions and 1 deletions

View File

@ -262,7 +262,7 @@ namespace internal {
template<typename Point> \
RET \
get(PROP p, const CGAL::Surface_mesh<Point>& sm, \
typename boost::disable_if< \
typename boost::lazy_disable_if< \
boost::is_const<Point>, internal::Get_graph_traits_of_SM<Point> \
>::type::TYPE x) \
{ return get(get(p, sm), x); } \