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
2022-01-04 16:09:00 +01:00
2021-12-16 18:35:43 +01:00
2021-12-16 18:35:43 +01:00
2021-11-28 15:14:41 +00:00
2021-11-28 15:14:41 +00:00
2021-12-14 12:16:03 +01:00
2021-12-14 12:16:03 +01:00
2021-11-28 15:14:41 +00:00
2021-11-28 15:14:41 +00:00
2009-02-01 23:08:39 +00:00
2022-01-20 16:20:32 +00:00
2022-01-17 10:02:11 +01:00
2022-01-18 18:21:16 +01:00
2021-11-28 15:14:41 +00:00
2021-11-28 15:14:41 +00:00
2022-01-18 18:21:16 +01:00
2009-01-13 21:14:02 +00:00
2017-01-31 19:21:25 +01:00
2009-01-13 18:32:10 +00:00
2009-01-13 18:32:10 +00:00
2019-10-07 15:17:03 +02:00
2019-10-07 15:17:03 +02:00
2009-01-13 18:32:10 +00:00
2009-01-13 18:32:10 +00:00
2021-03-10 00:46:58 +01:00
2017-01-31 19:21:25 +01: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
2017-01-31 19:21:25 +01: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
2017-01-31 19:21:25 +01: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-10-07 15:17:03 +02:00
2009-01-13 18:32:10 +00:00
2009-01-13 18:32:10 +00:00
2021-12-20 21:01:51 +01:00
2022-01-27 11:42:30 +01:00
2022-01-18 18:23:35 +01:00
2018-02-06 14:12:24 -05:00
2021-12-02 12:10:57 +01:00
2019-07-09 10:39:16 +02:00