mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
db4b972897
commit
ead58cd039
13 changed files with 40 additions and 53 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue