Replaced is_base_of by is_convertible.

This commit is contained in:
Clement Jamin 2013-05-23 17:49:24 +02:00
parent 4a3a43d0e6
commit 9aefdbe939
1 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@
#endif
#include <boost/foreach.hpp>
#include <boost/type_traits/is_base_of.hpp>
#include <boost/type_traits/is_convertible.hpp>
namespace CGAL {
@ -134,7 +134,7 @@ public:
#ifdef CGAL_LINKED_WITH_TBB
typedef typename boost::mpl::if_c
<
boost::is_base_of<Parallel_tag, Concurrency_tag>::value,
boost::is_convertible<Concurrency_tag, Parallel_tag>::value,
Concurrent_compact_container<
Cell, Default, Cell_container_strategy>,
Compact_container<
@ -151,7 +151,7 @@ public:
#ifdef CGAL_LINKED_WITH_TBB
typedef typename boost::mpl::if_c
<
boost::is_base_of<Parallel_tag, Concurrency_tag>::value,
boost::is_convertible<Concurrency_tag, Parallel_tag>::value,
Concurrent_compact_container<
Vertex, Default, Vertex_container_strategy>,
Compact_container<