Skip to content

Commit

Permalink
Fix SubtreeAvailability field init order.
Browse files Browse the repository at this point in the history
  • Loading branch information
kring committed Nov 13, 2023
1 parent 3d990cc commit 61c29cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cesium3DTilesContent/src/SubtreeAvailability.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,11 @@ SubtreeAvailability::SubtreeAvailability(
std::vector<AvailabilityView>&& contentAvailability,
Cesium3DTiles::Subtree&& subtree)
: _powerOf2{subdivisionScheme == ImplicitTileSubdivisionScheme::Quadtree ? 2U : 3U},
_levelsInSubtree{levelsInSubtree},
_subtree{std::move(subtree)},
_childCount{
subdivisionScheme == ImplicitTileSubdivisionScheme::Quadtree ? 4U
: 8U},
_levelsInSubtree{levelsInSubtree},
_subtree{std::move(subtree)},
_tileAvailability{tileAvailability},
_subtreeAvailability{subtreeAvailability},
_contentAvailability{std::move(contentAvailability)} {
Expand Down

0 comments on commit 61c29cb

Please sign in to comment.