Berthold Stoeger c8389a5644 core: turn divecomputer list into std::vector<>
Since struct divecomputer is now fully C++ (i.e. cleans up
after itself), we can simply turn the list of divecomputers
into an std::vector<>. This makes the code quite a bit simpler,
because the first divecomputer was actually a subobject.

Yes, this makes the common case of a single divecomputer a
little bit less efficient, but it really shouldn't matter.
If it does, we can still write a special std::vector<>-
like container that keeps the first element inline.

This change makes pointers-to-divecomputers not stable.
So always access the divecomputer via its index. As
far as I can tell, most of the code already does this.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-06-10 13:05:58 +02:00
..
2024-06-10 13:05:57 +02:00
2024-06-10 13:05:57 +02:00
2024-06-10 13:05:57 +02:00
2017-04-29 13:32:55 -07:00
2024-06-10 13:05:57 +02:00
2024-06-10 13:05:57 +02:00
2024-05-31 18:55:47 +02:00
2024-06-10 13:05:57 +02:00
2024-06-10 13:05:57 +02:00
2024-06-10 13:05:57 +02:00
2024-06-10 13:05:56 +02:00
2024-06-10 13:05:57 +02:00
2024-06-10 13:05:57 +02:00
2024-06-10 13:05:57 +02:00
2024-06-10 13:05:57 +02:00
2024-06-10 13:05:57 +02:00
2024-06-10 13:05:57 +02:00
2024-06-10 13:05:57 +02:00
2024-06-10 13:05:57 +02:00
2024-06-10 13:05:57 +02:00
2024-06-10 13:05:57 +02:00
2024-01-17 14:23:19 -08:00
2024-06-10 13:05:57 +02:00
2024-06-10 13:05:57 +02:00
2024-06-10 13:05:58 +02:00
2024-06-10 13:05:57 +02:00
2024-06-09 11:20:37 +02:00
2024-06-10 13:05:57 +02:00
2024-06-10 13:05:57 +02:00
2024-03-10 11:01:42 +13:00
2024-06-09 11:20:37 +02:00
2024-06-10 13:05:57 +02:00
2024-06-10 13:05:57 +02:00
2024-06-10 13:05:57 +02:00
2024-06-10 13:05:57 +02:00
2024-06-10 13:05:58 +02:00
2024-06-10 13:05:57 +02:00
2024-06-10 13:05:57 +02:00
2024-06-10 13:05:57 +02:00
2024-06-10 13:05:57 +02:00
2024-06-10 13:05:57 +02:00
2024-06-10 13:05:57 +02:00
2024-06-10 13:05:57 +02:00