summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/corefile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/util/corefile.h')
-rw-r--r--src/lib/util/corefile.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/util/corefile.h b/src/lib/util/corefile.h
index 07ac491e1f2..42dfd70aef8 100644
--- a/src/lib/util/corefile.h
+++ b/src/lib/util/corefile.h
@@ -14,7 +14,8 @@
#define __COREFILE_H__
#include <stdarg.h>
-#include "astring.h"
+#include "corestr.h"
+#include <string>
#include "coretmpl.h"
@@ -121,7 +122,7 @@ int CLIB_DECL core_fprintf(core_file *f, const char *fmt, ...) ATTR_PRINTF(2,3);
/* ----- filename utilities ----- */
/* extract the base part of a filename (remove extensions and paths) */
-astring &core_filename_extract_base(astring &result, const char *name, bool strip_extension = false);
+std::string &core_filename_extract_base(std::string &result, const char *name, bool strip_extension = false);
/* true if the given filename ends with a particular extension */
int core_filename_ends_with(const char *filename, const char *extension);