Michael Keller
e65c7cedc8
Refactoring: Improve Naming of FRACTION and SIGNED_FRAC defines.
...
Make it more obvious that the FRACTION and SIGNED_FRAC defines return a
tuple / triplet of values.
Fixes https://github.com/subsurface/subsurface/pull/4171#discussion_r1585941133
Complained-about-by: @bstoeger
Signed-off-by: Michael Keller <github@ike.ch>
2024-05-02 20:36:26 +02:00
Berthold Stoeger
15b17a0aca
planner: turn error argument of add_plan_to_notes() into a boolean flag
...
This used to have multiple values, but is currently only checked for
true/false. Reflect that in the type.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-04-23 07:47:11 +07:00
Berthold Stoeger
4db19d6284
planner: use std::string in plannernotes.cpp
...
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-04-23 07:47:11 +07:00
Berthold Stoeger
77e8c3655e
core: compile planner source files with C++
...
Another relatively easily converted part of the code.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-04-23 07:47:11 +07:00