diff options
Diffstat (limited to 'netfs/fuse/fuseConfig.h')
-rw-r--r-- | netfs/fuse/fuseConfig.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/netfs/fuse/fuseConfig.h b/netfs/fuse/fuseConfig.h index f33c8f7..32f25b4 100644 --- a/netfs/fuse/fuseConfig.h +++ b/netfs/fuse/fuseConfig.h @@ -4,16 +4,15 @@ #include <string> #include <map> #include <set> -#include <intrusivePtrBase.h> -#include <boost/intrusive_ptr.hpp> +#include <IceUtil/Shared.h> #include "xml.h" -class FuseConfig : public virtual IntrusivePtrBase { +class FuseConfig : public IceUtil::Shared { public: class Export; - typedef boost::intrusive_ptr<Export> ExportPtr; + typedef IceUtil::Handle<Export> ExportPtr; typedef std::map<std::string, ExportPtr> ExportMap; - class Export : public virtual IntrusivePtrBase { + class Export : public IceUtil::Shared { public: typedef std::set<std::string> Endpoints; Export(xmlNodePtr); @@ -23,11 +22,11 @@ class FuseConfig : public virtual IntrusivePtrBase { }; FuseConfig(xmlNodePtr); - static boost::intrusive_ptr<FuseConfig> Load(const std::string & path); + static IceUtil::Handle<FuseConfig> Load(const std::string & path); ExportMap exports; }; -typedef boost::intrusive_ptr<FuseConfig> FuseConfigPtr; +typedef IceUtil::Handle<FuseConfig> FuseConfigPtr; #endif |