core: convert ostctools as C++

Replace some of the memory management by C++ idioms.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2024-05-02 09:36:00 +02:00 committed by bstoeger
parent fe0bb905f3
commit b74703b61d
4 changed files with 54 additions and 66 deletions

View file

@ -131,7 +131,7 @@ set(SUBSURFACE_CORE_LIB_SRCS
metadata.h
metrics.cpp
metrics.h
ostctools.c
ostctools.cpp
owning_ptrs.h
parse-gpx.cpp
parse-xml.cpp