add missing static keyword

This commit is contained in:
Sébastien Loriot 2022-02-22 12:42:41 +01:00
parent 643b846c8e
commit 6f6bd08e2e
3 changed files with 6 additions and 6 deletions

View File

@ -60,7 +60,7 @@ intersection(
} }; } };
// description of faces of the bbox // 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, { { 0, 1, 2, 3,
2, 1, 5, 6, 2, 1, 5, 6,
3, 2, 6, 7, 3, 2, 6, 7,
@ -68,7 +68,7 @@ intersection(
4, 0, 3, 7, 4, 0, 3, 7,
6, 5, 4, 7 } }; 6, 5, 4, 7 } };
constexpr std::array<int, 24> edge_indices static constexpr std::array<int, 24> edge_indices
{ { 0, 1, 2, 3, { { 0, 1, 2, 3,
1, 4, 5, 6, 1, 4, 5, 6,
2, 6, 7, 8, 2, 6, 7, 8,

View File

@ -55,13 +55,13 @@ intersection(
} }; } };
// description of faces of the bbox // 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, 2,
0, 1, 3, 0, 1, 3,
1, 2, 3, 1, 2, 3,
2, 0, 3 } }; 2, 0, 3 } };
constexpr std::array<int, 12> edge_indices static constexpr std::array<int, 12> edge_indices
{ { 0, 1, 2, { { 0, 1, 2,
0, 3, 5, 0, 3, 5,
1, 4, 3, 1, 4, 3,

View File

@ -87,7 +87,7 @@ clip_to_bbox(const Plane_3& plane,
}}; }};
// description of faces of the bbox // 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, { { 0, 1, 2, 3,
2, 1, 5, 6, 2, 1, 5, 6,
3, 2, 6, 7, 3, 2, 6, 7,
@ -95,7 +95,7 @@ clip_to_bbox(const Plane_3& plane,
4, 0, 3, 7, 4, 0, 3, 7,
6, 5, 4, 7 } }; 6, 5, 4, 7 } };
constexpr std::array<int, 24> edge_indices static constexpr std::array<int, 24> edge_indices
{ { 0, 1, 2, 3, { { 0, 1, 2, 3,
1, 4, 5, 6, 1, 4, 5, 6,
2, 6, 7, 8, 2, 6, 7, 8,