diff options
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 |
commit | 4ddfc6a6e4b8195b001dca2f574b7ab348e704ab (patch) | |
tree | c1454ff2bc6387cedf96badbe8188d58a9d780c1 /src/osd/osdcore.h | |
parent | cd8b414e6bc14b375dcf2a4eb17eb0353926474f (diff) |
Changed osd_stat() to return std::unique_ptr<osd::directory::entry>
Diffstat (limited to 'src/osd/osdcore.h')
-rw-r--r-- | src/osd/osdcore.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/osd/osdcore.h b/src/osd/osdcore.h index 85672445196..137f49d58e9 100644 --- a/src/osd/osdcore.h +++ b/src/osd/osdcore.h @@ -789,10 +789,9 @@ char *osd_get_clipboard_text(void); an allocated pointer to an osd::directory::entry representing info on the path; even if the file does not exist. - free with osd_free() -----------------------------------------------------------------------------*/ -osd::directory::entry *osd_stat(std::string const &path); +std::unique_ptr<osd::directory::entry> osd_stat(std::string const &path); /*************************************************************************** PATH INTERFACES |