core: use std::string instead of strndup()

Allows us to remove the strndup.h header. This code will be
even more simple, once core is fully converted away from C-strings.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2024-03-29 08:47:10 +01:00 committed by bstoeger
parent 177a1a6706
commit e7a6de3894
6 changed files with 11 additions and 42 deletions

View file

@ -24,7 +24,6 @@
#include "subsurface-string.h"
#include "format.h"
#include "membuffer.h"
#include "strndup.h"
#include "qthelper.h"
#include "file.h"
#include "errorhelper.h"