Skip to content

Commit

Permalink
[fuseCut] build fix: missing return of non-void function
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiencastan committed Jan 20, 2021
1 parent 5b2930a commit 598b29b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aliceVision/fuseCut/DelaunayGraphCut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -474,8 +474,8 @@ std::vector<DelaunayGraphCut::CellIndex> DelaunayGraphCut::getNeighboringCellsBy
case EGeometryType::Facet:
return getNeighboringCellsByFacet(g.facet);
case EGeometryType::None:
throw std::runtime_error("[error] getNeighboringCellsByGeometry: an undefined/None geometry has no neighboring cells.");
}
throw std::runtime_error("[error] getNeighboringCellsByGeometry: an undefined/None geometry has no neighboring cells.");
}

std::vector<DelaunayGraphCut::CellIndex> DelaunayGraphCut::getNeighboringCellsByFacet(const Facet& f) const
Expand Down

0 comments on commit 598b29b

Please sign in to comment.