From 73b44c94291c4d086477167a76fd7db239936c3b Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Sun, 6 Mar 2016 18:02:37 +1100 Subject: Turn core_file into a proper class that gets cleaned up safely using unique_ptr Subverted somewhat by chd_file class --- src/lib/util/zippath.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/util/zippath.h') diff --git a/src/lib/util/zippath.h b/src/lib/util/zippath.h index 960b50851e7..ce40c87ba8d 100644 --- a/src/lib/util/zippath.h +++ b/src/lib/util/zippath.h @@ -45,7 +45,7 @@ std::string &zippath_combine(std::string &dst, const char *path1, const char *pa /* ----- file operations ----- */ /* opens a zip path file */ -file_error zippath_fopen(const char *filename, UINT32 openflags, core_file *&file, std::string &revised_path); +file_error zippath_fopen(const char *filename, UINT32 openflags, util::core_file::ptr &file, std::string &revised_path); /* ----- directory operations ----- */ -- cgit v1.2.3-70-g09d2