mirror of https://github.com/CGAL/cgal
add missing static keyword
This commit is contained in:
parent
643b846c8e
commit
6f6bd08e2e
|
|
@ -60,7 +60,7 @@ intersection(
|
|||
} };
|
||||
|
||||
// description of faces of the bbox
|
||||
constexpr std::array<int, 24> face_indices
|
||||
static constexpr std::array<int, 24> face_indices
|
||||
{ { 0, 1, 2, 3,
|
||||
2, 1, 5, 6,
|
||||
3, 2, 6, 7,
|
||||
|
|
@ -68,7 +68,7 @@ intersection(
|
|||
4, 0, 3, 7,
|
||||
6, 5, 4, 7 } };
|
||||
|
||||
constexpr std::array<int, 24> edge_indices
|
||||
static constexpr std::array<int, 24> edge_indices
|
||||
{ { 0, 1, 2, 3,
|
||||
1, 4, 5, 6,
|
||||
2, 6, 7, 8,
|
||||
|
|
|
|||
|
|
@ -55,13 +55,13 @@ intersection(
|
|||
} };
|
||||
|
||||
// description of faces of the bbox
|
||||
constexpr std::array<int, 12> face_indices
|
||||
static constexpr std::array<int, 12> face_indices
|
||||
{ { 0, 1, 2,
|
||||
0, 1, 3,
|
||||
1, 2, 3,
|
||||
2, 0, 3 } };
|
||||
|
||||
constexpr std::array<int, 12> edge_indices
|
||||
static constexpr std::array<int, 12> edge_indices
|
||||
{ { 0, 1, 2,
|
||||
0, 3, 5,
|
||||
1, 4, 3,
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ clip_to_bbox(const Plane_3& plane,
|
|||
}};
|
||||
|
||||
// description of faces of the bbox
|
||||
constexpr std::array<int, 24> face_indices
|
||||
static constexpr std::array<int, 24> face_indices
|
||||
{ { 0, 1, 2, 3,
|
||||
2, 1, 5, 6,
|
||||
3, 2, 6, 7,
|
||||
|
|
@ -95,7 +95,7 @@ clip_to_bbox(const Plane_3& plane,
|
|||
4, 0, 3, 7,
|
||||
6, 5, 4, 7 } };
|
||||
|
||||
constexpr std::array<int, 24> edge_indices
|
||||
static constexpr std::array<int, 24> edge_indices
|
||||
{ { 0, 1, 2, 3,
|
||||
1, 4, 5, 6,
|
||||
2, 6, 7, 8,
|
||||
|
|
|
|||
Loading…
Reference in New Issue