core: remove membufferpp

This the C++ version of membuffer. Since everything is C++, it can
just be made the default.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2024-05-05 06:47:28 +02:00 committed by bstoeger
parent db4b972897
commit ead58cd039
13 changed files with 40 additions and 53 deletions

View file

@ -131,7 +131,7 @@ void TabDivePhotos::saveSubtitles()
// Only videos have non-zero duration
if (!duration)
continue;
struct membufferpp b;
membuffer b;
save_subtitles_buffer(&b, parent.currentDive, offset, duration);
const char *data = mb_cstring(&b);
subtitlefile.open(QIODevice::WriteOnly);