mirror of https://github.com/CGAL/cgal
fix msvc error C7626 with c++20
error C7626: unnamed class used in typedef name cannot declare members other than non-static data members, member enumerations, or member classes
This commit is contained in:
parent
9c955869c7
commit
9e005cb64b
|
|
@ -43,12 +43,13 @@ struct Wrappers_VFH:public CGAL::Polyhedron_items_3 {
|
|||
template < class Refs, class Traits > struct Face_wrapper {
|
||||
//typedef typename Traits::Vector_3 Vector_3;
|
||||
//all types needed by the facet...
|
||||
typedef struct {
|
||||
public:
|
||||
typedef typename Traits::Vector_3 Vector_3;
|
||||
} FGeomTraits;
|
||||
struct FGeomTraits {
|
||||
public:
|
||||
typedef typename Traits::Vector_3 Vector_3;
|
||||
};
|
||||
typedef FGeomTraits FGT;
|
||||
//custom type instantiated...
|
||||
typedef My_facet < Refs, CGAL::Tag_true, FGeomTraits > Face;
|
||||
typedef My_facet < Refs, CGAL::Tag_true, FGT > Face;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue