From 4ddfc6a6e4b8195b001dca2f574b7ab348e704ab Mon Sep 17 00:00:00 2001 From: Nathan Woods Date: Fri, 24 Jun 2016 07:39:37 -0400 Subject: Changed osd_stat() to return std::unique_ptr --- src/lib/util/zippath.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/util/zippath.cpp') diff --git a/src/lib/util/zippath.cpp b/src/lib/util/zippath.cpp index 3ee724a4b01..48a919a8cad 100644 --- a/src/lib/util/zippath.cpp +++ b/src/lib/util/zippath.cpp @@ -701,7 +701,7 @@ static osd_file::error zippath_resolve(const char *path, osd::directory::entry:: apath_trimmed = apath; // stat the path - std::unique_ptr current_entry(osd_stat(apath_trimmed), &osd_free); + auto current_entry = osd_stat(apath_trimmed); // did we find anything? if (current_entry) -- cgit v1.2.3-70-g09d2