diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-04-09 13:09:44 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-04-09 13:09:44 +0100 |
commit | 3049020b3fc9f7cd432d6f86d1a356eec7ca9bdd (patch) | |
tree | 25ba8c803b3d6cc2d9834dbbe727e34de77ffa90 | |
parent | C++17 (diff) | |
download | netfs-3049020b3fc9f7cd432d6f86d1a356eec7ca9bdd.tar.bz2 netfs-3049020b3fc9f7cd432d6f86d1a356eec7ca9bdd.tar.xz netfs-3049020b3fc9f7cd432d6f86d1a356eec7ca9bdd.zip |
C++17
Remove no-longer needed smart pointer wrappers.
-rw-r--r-- | netfs/daemon/daemon.cpp | 2 | ||||
-rw-r--r-- | netfs/fuse/fuseApp.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/netfs/daemon/daemon.cpp b/netfs/daemon/daemon.cpp index 89843a4..f022467 100644 --- a/netfs/daemon/daemon.cpp +++ b/netfs/daemon/daemon.cpp @@ -47,7 +47,7 @@ NetFSDaemon::start(const std::string & name, const Ice::CommunicatorPtr & ic, co NetFS::Daemon::ConfigurationPtr NetFSDaemon::ReadConfiguration(const boost::filesystem::path & path) const { - auto s = Slicer::DeserializerPtr(Slicer::FileDeserializerFactory::createNew(path.extension().string(), path)); + auto s = Slicer::FileDeserializerFactory::createNew(path.extension().string(), path); return Slicer::DeserializeAnyWith<NetFS::Daemon::ConfigurationPtr>(s); } diff --git a/netfs/fuse/fuseApp.cpp b/netfs/fuse/fuseApp.cpp index 32de9a5..98fba81 100644 --- a/netfs/fuse/fuseApp.cpp +++ b/netfs/fuse/fuseApp.cpp @@ -68,7 +68,7 @@ NetFS::FuseApp::~FuseApp() NetFS::Client::ConfigurationPtr NetFS::FuseApp::ReadConfiguration(const boost::filesystem::path & path) const { - auto s = Slicer::DeserializerPtr(Slicer::FileDeserializerFactory::createNew(path.extension().string(), path)); + auto s = Slicer::FileDeserializerFactory::createNew(path.extension().string(), path); return Slicer::DeserializeAnyWith<NetFS::Client::ConfigurationPtr>(s); } |