core: convert filter_constraint_data_to_string to C++

Return an std::string to avoid memory management headaches.

While doing that, convert time.c to C++ so that
format_datetime directly returns an std::string.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2024-02-29 11:31:46 +01:00 committed by Michael Keller
parent 898ecd2df5
commit 2e1d852e36
8 changed files with 29 additions and 32 deletions

View file

@ -95,7 +95,7 @@ SOURCES += subsurface-mobile-main.cpp \
core/strtod.c \
core/tag.c \
core/taxonomy.c \
core/time.c \
core/time.cpp \
core/trip.c \
core/units.c \
core/uemis.c \