Skip to content

Commit

Permalink
[build] Add assert on unexpected switch values (clang warning)
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Dec 4, 2013
1 parent 6c05339 commit 7afa352
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/statistic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,5 +173,7 @@ string Statistic::componentToName(Component component) const
case Renderer: return "Renderer";
case GeoContainsData: return "GeoContainsData";
case Slicing: return "Slicing";
default:
assert(false);
}
}

0 comments on commit 7afa352

Please sign in to comment.