Skip to content

Commit 87d2f34

Browse files
authored
Reapply warning fix from previous S2 vendor to new S2 version (#269)
1 parent 0f39cf6 commit 87d2f34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/s2/s2region_coverer.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ class S2RegionCoverer {
272272
S2Cell cell;
273273
bool is_terminal; // Cell should not be expanded further.
274274
int num_children = 0; // Number of children that intersect the region.
275-
Candidate* children[0]; // Actual size may be 0, 4, 16, or 64 elements.
275+
__extension__ Candidate* children[0]; // Actual size may be 0, 4, 16, or 64 elements.
276276
};
277277

278278
// If the cell intersects the given region, return a new candidate with no

0 commit comments

Comments
 (0)