diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-07-25 10:28:58 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-11-09 19:19:04 +0100 |
commit | f2bcc240c4d63c8e18d963ddb917e76fd3b939ec (patch) | |
tree | f09079903b6d10057038df2cbf58ec3ad788bd59 /core/gas.h | |
parent | 371a5fd66b7d894e572b7bf61d3e64d424bee841 (diff) | |
download | subsurface-f2bcc240c4d63c8e18d963ddb917e76fd3b939ec.tar.gz |
Core: dynamically allocate cylinder maps in merge_cylinders()
merge_cylinders() used three bitmaps to identify cylinders used in
the first and second dive and matched cylinders. Even though nobody
will use more than 32 (or 64!) cylinders, replace these with
dynamically allocated bool-arrays for consistency with the rest
of the code.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/gas.h')
0 files changed, 0 insertions, 0 deletions