mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: convert save-xml.c to C++
This includes using the C++ version of membuffer. There appears to not have been a leak, because the buffer is freed in flush_buffer(), but usage was somewhat inconsistent and hard to follow. Also, convert some string handling to std::string to avoid free() madness. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
76c2069fa8
commit
a032d9c979
3 changed files with 30 additions and 46 deletions
|
@ -82,7 +82,7 @@ SOURCES += subsurface-mobile-main.cpp \
|
|||
core/datatrak.c \
|
||||
core/ostctools.c \
|
||||
core/planner.c \
|
||||
core/save-xml.c \
|
||||
core/save-xml.cpp \
|
||||
core/cochran.c \
|
||||
core/deco.c \
|
||||
core/divesite.c \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue