diff options
-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); } |