mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 13:15:39 -04:00
Isolate __builtin_unreachable to macro
This commit is contained in:
parent
1d5242ede1
commit
cca544292a
5 changed files with 10 additions and 12 deletions
|
|
@ -693,10 +693,8 @@ void draw_mesh_lines(Plot pl, ImageData& data)
|
|||
outer = 1;
|
||||
inner = 2;
|
||||
break;
|
||||
#ifdef __GNUC__
|
||||
default:
|
||||
__builtin_unreachable();
|
||||
#endif
|
||||
UNREACHABLE();
|
||||
}
|
||||
|
||||
Position ll_plot {pl.origin_};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue