aboutsummaryrefslogtreecommitdiff
path: root/bootloaders/atmega
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2020-09-17 19:43:09 +0200
committerMatthijs Kooijman <matthijs@stdin.nl>2020-09-17 20:02:05 +0200
commit6d292502e138b5c73705f0df8095ded3f1df956f (patch)
tree9f5ce5b42f26358b537dd9807a1c3f8617f5c3d7 /bootloaders/atmega
parent1a885ce890219213ac24c00d5aededa88c122fe1 (diff)
Use std::size_t in new/delete
The standard dictates that `std::size_t` is used, rather than the plain `size_t` type. Even though these types are usually, if not always, exactly the same type, other code might assume that `std::size_t` is actually used and thus also available under that name after including `<new>`. This fixes that by using the right type. One challenge is that it is usually declared in headers that we do not have available, so this just defines the `std::size_t` type in the `<new>` header to work around that.
Diffstat (limited to 'bootloaders/atmega')
0 files changed, 0 insertions, 0 deletions