Berthold Stoeger
71418b116a
core: C++-ify statistics.c
...
The old code was wild: For the yearly statistics it would allocate
one entry per dive in the log. Of course, it would also leak
C-style strings.
Convert the whole thing to somewhat idiomatic C++.
Somewhat wasted work, because I'd like to convert the whole thing
to the new statistics code. But let's finish the conversion to C++
first.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-06-09 11:20:37 +02:00
..
2019-06-19 13:11:10 -07:00
2020-04-07 00:13:35 +02:00
2022-04-18 07:24:38 +02:00
2024-04-23 07:47:11 +07:00
2022-02-15 09:35:43 -08:00
2024-06-01 23:22:40 +12:00
2023-07-25 11:19:03 +12:00
2020-10-25 13:59:52 -07:00
2020-05-07 08:46:15 -07:00
2023-04-14 21:20:23 +02:00
2023-04-14 21:20:23 +02:00
2024-03-12 10:31:07 -04:00
2020-11-07 11:37:51 -08:00
2024-01-17 14:23:19 -08:00
2020-05-06 13:58:09 -07:00
2024-06-01 23:22:40 +12:00
2024-06-01 23:22:40 +12:00
2023-04-26 07:14:07 +02:00
2019-05-06 10:48:44 +02:00
2021-10-11 20:20:20 +03:00
2020-02-08 10:29:36 -08:00
2024-06-05 09:16:32 +12:00
2024-06-05 09:16:32 +12:00
2020-09-29 16:13:03 -07:00
2020-09-29 16:13:03 -07:00
2023-04-16 20:23:59 +02:00
2023-04-16 20:23:59 +02:00
2024-03-10 11:01:42 +13:00
2020-09-29 16:13:03 -07:00
2024-03-24 17:53:19 +01:00
2020-02-04 02:16:46 +01:00
2024-03-12 10:31:07 -04:00
2018-09-29 15:23:25 -07:00
2022-02-15 09:35:43 -08:00
2022-02-15 09:35:43 -08:00
2024-04-16 08:56:49 +12:00
2024-04-16 08:56:49 +12:00
2024-06-09 11:15:59 +02:00
2024-04-16 08:56:49 +12:00
2018-09-01 07:48:43 -07:00
2018-09-29 15:23:25 -07:00
2024-04-16 08:56:49 +12:00
2020-05-15 14:19:21 -07:00
2024-04-16 08:56:49 +12:00
2024-04-16 08:56:49 +12:00
2024-06-09 11:20:37 +02:00
2018-12-17 12:18:26 +01:00