Commit 4bbc4e19 authored by Jakob Otto's avatar Jakob Otto

Cleanup

parent c5e3b77b
......@@ -38,7 +38,7 @@ public:
// -- properties -------------------------------------------------------------
/// Returns the IPv6 address.
/// Returns the IPv4 address.
ipv4_address address() const noexcept;
/// Sets the address of this endpoint.
......
......@@ -18,11 +18,6 @@
#pragma once
#include <deque>
#include <functional>
#include <string>
#include <vector>
#include "caf/ipv6_address.hpp"
#include "caf/meta/type_name.hpp"
......
......@@ -20,24 +20,6 @@
#include "caf/detail/fnv_hash.hpp"
#ifdef CAF_WINDOWS
# include <windows.h>
# include <winsock2.h>
# include <ws2ipdef.h>
# include <ws2tcpip.h>
#else
# include <arpa/inet.h>
# include <cerrno>
# include <netinet/in.h>
# include <netinet/ip.h>
# include <sys/socket.h>
# include <unistd.h>
#endif
#ifdef CAF_WINDOWS
using sa_family_t = short;
#endif
using caf::detail::fnv_hash;
using caf::detail::fnv_hash_append;
......
......@@ -20,24 +20,6 @@
#include "caf/detail/fnv_hash.hpp"
#ifdef CAF_WINDOWS
# include <windows.h>
# include <winsock2.h>
# include <ws2ipdef.h>
# include <ws2tcpip.h>
#else
# include <arpa/inet.h>
# include <cerrno>
# include <netinet/in.h>
# include <netinet/ip.h>
# include <sys/socket.h>
# include <unistd.h>
#endif
#ifdef CAF_WINDOWS
using sa_family_t = short;
#endif
using caf::detail::fnv_hash;
using caf::detail::fnv_hash_append;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment