X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocols%2FUN%2FUNAddress.hh;h=1dfdeeabffd50d46051782a6756f09367c4df109;hb=74270969b7d3562a3ee3a0a32d3cc4ee476760f0;hp=1b6ed5f2989ec794f52b755e8bc44983884a0e05;hpb=f00a102138bcbabdaab1caab1db6a8876463dedc;p=senf.git diff --git a/Socket/Protocols/UN/UNAddress.hh b/Socket/Protocols/UN/UNAddress.hh index 1b6ed5f..1dfdeea 100644 --- a/Socket/Protocols/UN/UNAddress.hh +++ b/Socket/Protocols/UN/UNAddress.hh @@ -27,7 +27,6 @@ // Custom includes #include #include -#include #include "../../../Utils/safe_bool.hh" //#include "UNAddress.mpp" @@ -41,14 +40,12 @@ namespace senf { \ingroup addr_group */ class UNAddress - : public boost::filesystem::path, - public comparable_safe_bool + : public comparable_safe_bool { public: UNAddress(); ///< Construct an empty address - explicit UNAddress(boost::filesystem::path);///< Construct an address constant from given path + explicit UNAddress(std::string);///< Construct an address constant from given path static UNAddress fromString(std::string & s); ///< Convert string to address by interpreting the string as path - static UNAddress fromPath(boost::filesystem::path & p);///< Convert path to address UNAddress clone(); ///< Clone object std::string pathString() const; ///< Return the path of the address as string @@ -56,7 +53,7 @@ namespace senf { struct AddressException : public std::exception {}; private: - boost::filesystem::path path; + std::string path; }; std::ostream & operator<<(std::ostream & os, UNAddress const & addr);