diff options
Diffstat (limited to 'mythfs/service/inodes/allDirectory.cpp')
-rw-r--r-- | mythfs/service/inodes/allDirectory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mythfs/service/inodes/allDirectory.cpp b/mythfs/service/inodes/allDirectory.cpp index d7278a3..f9bea8c 100644 --- a/mythfs/service/inodes/allDirectory.cpp +++ b/mythfs/service/inodes/allDirectory.cpp @@ -21,7 +21,7 @@ namespace MythFS { }) == rs.end()) { throw NetFS::SystemError(ENOENT); } - return new Symlink("/var/store/mythrecordings/" + path); + return std::make_shared<Symlink>("/var/store/mythrecordings/" + path); } } |