X-Git-Url: https://git.llucax.com/software/posixx.git/blobdiff_plain/7b35c34eaa3ee421eb5effc63801aeff69a9ffe8..808b1eca4692bb7d76270d992e1c62f4df85939f:/test/socket/unix/common.hpp diff --git a/test/socket/unix/common.hpp b/test/socket/unix/common.hpp index e80f1a6..4686974 100644 --- a/test/socket/unix/common.hpp +++ b/test/socket/unix/common.hpp @@ -2,6 +2,7 @@ #define TEST_SOCKET_UNIX_COMMON_HPP_ #include // posixx::socket::unix +#include // address ostream formatting #include // unit testing stuff #include // std::ostream #include // unlink @@ -11,14 +12,6 @@ #define PATH1 PATH "1" #define PATH2 PATH "2" -static inline -std::ostream& operator << (std::ostream& os, - const posixx::socket::unix::sockaddr& sa) throw() -{ - return os << "unix::sockaddr(family=" << sa.sun_family - << ", path=" << sa.sun_path << ")"; -} - static inline void clean_test_address(posixx::socket::unix::socket& socket, const posixx::socket::unix::sockaddr& addr)