Stefan Brüns 54246e12ad Throw Exception when shape has invalid type
Although the switch statement handles all (current) allowed values, from
a C/C++ view point the enum may have any value of its underlying type.
In this case the function has no return statement and runs into
undefined behavior.

Fixes build failures when built with "-Werror=return-type".
2022-01-27 11:42:30 +01:00
..
2021-11-28 15:14:41 +00:00
2021-11-28 15:14:41 +00:00
2021-11-28 15:14:41 +00:00
2021-11-28 15:14:41 +00:00
2021-11-28 15:14:41 +00:00
2021-11-28 15:14:41 +00:00
2021-11-28 15:14:41 +00:00
2009-01-13 21:14:02 +00:00
2009-01-13 18:32:10 +00:00
2009-01-13 18:32:10 +00:00
2009-01-13 18:32:10 +00:00
2009-01-13 18:32:10 +00:00
2009-01-13 18:32:10 +00:00
2009-01-13 18:32:10 +00:00
2009-01-12 23:40:13 +00:00
2009-01-13 18:32:10 +00:00
2009-01-13 18:32:10 +00:00
2018-02-06 14:12:24 -05:00
2009-01-13 18:32:10 +00:00
2009-01-13 18:32:10 +00:00
2018-02-06 14:12:24 -05:00
2009-01-13 18:32:10 +00:00
2009-01-13 18:32:10 +00:00
2018-02-06 14:12:24 -05:00
2019-07-09 10:39:16 +02:00