Isolate __builtin_unreachable to macro

This commit is contained in:
Paul Romano 2019-03-26 16:16:06 -05:00
parent 1d5242ede1
commit cca544292a
5 changed files with 10 additions and 12 deletions

View file

@ -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_};