summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/zippath.cpp
diff options
context:
space:
mode:
author Nathan Woods <npwoods@mess.org>2016-06-24 07:39:37 -0400
committer Nathan Woods <npwoods@mess.org>2016-06-24 07:39:37 -0400
commit4ddfc6a6e4b8195b001dca2f574b7ab348e704ab (patch)
treec1454ff2bc6387cedf96badbe8188d58a9d780c1 /src/lib/util/zippath.cpp
parentcd8b414e6bc14b375dcf2a4eb17eb0353926474f (diff)
Changed osd_stat() to return std::unique_ptr<osd::directory::entry>
Diffstat (limited to 'src/lib/util/zippath.cpp')
-rw-r--r--src/lib/util/zippath.cpp2
1 files changed, 1 insertions, 1 deletions
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<osd::directory::entry, void (*)(void *)> current_entry(osd_stat(apath_trimmed), &osd_free);
+ auto current_entry = osd_stat(apath_trimmed);
// did we find anything?
if (current_entry)