mirror of https://github.com/CGAL/cgal
Merge pull request #8257 from gdamiand/LCC-bugfix-gdamiand
Bug fix: definition of Self and Base in class Cell_attribute_with_point when using index.
This commit is contained in:
commit
4ba26e9280
|
|
@ -75,7 +75,7 @@ namespace CGAL {
|
|||
struct Container_for_attributes : public
|
||||
Compact_container_with_index<T,
|
||||
typename Allocator_traits::template rebind_alloc<T>,
|
||||
Multiply_by_two_policy_for_cc_with_size<64>, size_type >
|
||||
Multiply_by_two_policy_for_cc_with_size<64>, Index_type >
|
||||
{};
|
||||
/// Typedef for attributes
|
||||
typedef typename internal::template Get_attributes_tuple<Dart_wrapper>::type
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ namespace CGAL {
|
|||
struct Container_for_attributes : public
|
||||
Compact_container_with_index<T,
|
||||
typename Allocator_traits::template rebind_alloc<T>,
|
||||
Multiply_by_two_policy_for_cc_with_size<64>, size_type >
|
||||
Multiply_by_two_policy_for_cc_with_size<64>, Index_type >
|
||||
{};
|
||||
/// Typedef for attributes
|
||||
typedef typename internal::template Get_attributes_tuple<Dart_wrapper>::type
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ namespace CGAL {
|
|||
struct Container_for_attributes : public
|
||||
Compact_container_with_index<T,
|
||||
typename Allocator_traits::template rebind_alloc<T>,
|
||||
Multiply_by_two_policy_for_cc_with_size<64>, size_type >
|
||||
Multiply_by_two_policy_for_cc_with_size<64>, Index_type >
|
||||
{};
|
||||
/// Typedef for attributes
|
||||
typedef typename internal::template Get_attributes_tuple<Dart_wrapper>::type
|
||||
|
|
|
|||
|
|
@ -91,10 +91,10 @@ namespace CGAL {
|
|||
|
||||
public:
|
||||
typedef Cell_attribute_with_point<LCC, Info_, Tag, Functor_on_merge_,
|
||||
Functor_on_split_> Self;
|
||||
Functor_on_split_, WithID> Self;
|
||||
|
||||
typedef Cell_attribute<LCC, Info_, Tag,
|
||||
Functor_on_merge_, Functor_on_split_> Base1;
|
||||
Functor_on_merge_, Functor_on_split_, WithID> Base1;
|
||||
typedef Point_for_cell<typename LCC::Point> Base2;
|
||||
|
||||
typedef typename LCC::Point Point;
|
||||
|
|
|
|||
|
|
@ -32,6 +32,9 @@ namespace CGAL {
|
|||
template <class, class>
|
||||
friend class Concurrent_compact_container;
|
||||
|
||||
template <class, class, class, class>
|
||||
friend class Compact_container_with_index;
|
||||
|
||||
public:
|
||||
typedef typename Base::Point Point;
|
||||
|
||||
|
|
@ -64,6 +67,9 @@ namespace CGAL {
|
|||
template <class, class>
|
||||
friend class Concurrent_compact_container;
|
||||
|
||||
template <class, class, class, class>
|
||||
friend class Compact_container_with_index;
|
||||
|
||||
public:
|
||||
typedef typename Base::Point Point;
|
||||
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ namespace CGAL {
|
|||
struct Container_for_attributes : public
|
||||
Compact_container_with_index<T,
|
||||
typename Allocator_traits::template rebind_alloc<T>,
|
||||
Multiply_by_two_policy_for_cc_with_size<64>, size_type >
|
||||
Multiply_by_two_policy_for_cc_with_size<64>, Index_type >
|
||||
{};
|
||||
/// Typedef for attributes
|
||||
typedef typename internal::template Get_attributes_tuple<Dart_wrapper>::type
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@ struct Myitems_2b
|
|||
{
|
||||
#ifdef USE_COMPACT_CONTAINER_WITH_INDEX
|
||||
typedef CGAL::Tag_true Use_index;
|
||||
using Index_type=std::uint16_t;
|
||||
#endif
|
||||
template <class LCC>
|
||||
struct Dart_wrapper
|
||||
|
|
|
|||
|
|
@ -60,6 +60,7 @@ struct Myitems_3b
|
|||
{
|
||||
#ifdef USE_COMPACT_CONTAINER_WITH_INDEX
|
||||
typedef CGAL::Tag_true Use_index;
|
||||
using Index_type=std::uint32_t;
|
||||
#endif
|
||||
template <class LCC>
|
||||
struct Dart_wrapper
|
||||
|
|
|
|||
|
|
@ -57,6 +57,7 @@ struct Myitems_4b
|
|||
{
|
||||
#ifdef USE_COMPACT_CONTAINER_WITH_INDEX
|
||||
typedef CGAL::Tag_true Use_index;
|
||||
using Index_type=std::uint64_t;
|
||||
#endif
|
||||
template <class LCC>
|
||||
struct Dart_wrapper
|
||||
|
|
|
|||
Loading…
Reference in New Issue