mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: convert weightsystem_t and weightsystem_table to C++
As for cylinders, this had to be done simultaneously, Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
28520da655
commit
640ecb345b
28 changed files with 137 additions and 247 deletions
|
|
@ -301,7 +301,7 @@ static int divinglog_dive(void *param, int, char **data, char **)
|
|||
|
||||
if (data[10]) {
|
||||
weightsystem_t ws = { { atoi(data[10]) * 1000 }, translate("gettextFromC", "unknown"), false };
|
||||
add_cloned_weightsystem(&state->cur_dive->weightsystems, ws);
|
||||
state->cur_dive->weightsystems.push_back(std::move(ws));
|
||||
}
|
||||
|
||||
if (data[11])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue