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
|
|
@ -159,7 +159,7 @@ set(SUBSURFACE_CORE_LIB_SRCS
|
|||
save-html.c
|
||||
save-html.h
|
||||
save-profiledata.c
|
||||
save-xml.c
|
||||
save-xml.cpp
|
||||
selection.cpp
|
||||
selection.h
|
||||
sha1.c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue