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 5e545ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/aliceVision/fuseCut/DelaunayGraphCut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -474,8 +474,9 @@ 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.");
break;
}
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 5e545ae

Please sign in to comment.