diff options
author | Matthijs Kooijman <matthijs@stdin.nl> | 2020-09-17 17:40:02 +0200 |
---|---|---|
committer | Matthijs Kooijman <matthijs@stdin.nl> | 2020-09-17 20:01:29 +0200 |
commit | 66d06b033c3f6eafde901418be3c089ffcc6ebfc (patch) | |
tree | 0d1f4edaf6362bd5913a18b9a9b690b97134c7c8 /bootloaders/optiboot | |
parent | b8c6c850421d0d81bb5ea9c340c4fcd958937165 (diff) |
Call std::terminate on pure or deleted virtual functions
These are special functions that are presumably put into vtables for
deleted or pure virtual functions. Previously, this would call `abort()`
directly, but calling `std::terminate()` achieves the same effect, but
allows user code to change the behavior (e.g. to print to serial, blink
leds or whatever makes sense).
Diffstat (limited to 'bootloaders/optiboot')
0 files changed, 0 insertions, 0 deletions