include cleanups (powered by iwyu)

This commit is contained in:
Max Kellermann
2019-07-05 09:59:00 +02:00
parent 9cdebc90a0
commit d663f81420
229 changed files with 67 additions and 397 deletions

View File

@@ -32,7 +32,6 @@
#include "SocketAddress.hxx"
#include <algorithm>
#include <utility>
#ifdef _WIN32

View File

@@ -39,14 +39,6 @@
#include <sys/un.h>
#endif
#ifdef HAVE_TCP
#ifdef _WIN32
#include <ws2tcpip.h>
#else
#include <netinet/in.h>
#endif
#endif
AllocatedSocketAddress &
AllocatedSocketAddress::operator=(SocketAddress src) noexcept
{

View File

@@ -34,7 +34,7 @@
#include "Features.hxx"
#include "util/Compiler.h"
#include <algorithm>
#include <utility>
#include <stdlib.h>

View File

@@ -33,7 +33,6 @@
#ifndef NET_RESOLVER_HXX
#define NET_RESOLVER_HXX
struct addrinfo;
class AddressInfoList;
/**

View File

@@ -37,14 +37,6 @@
#include <string.h>
#ifdef HAVE_TCP
#ifdef _WIN32
#include <ws2tcpip.h>
#else
#include <netinet/in.h>
#endif
#endif
StaticSocketAddress &
StaticSocketAddress::operator=(SocketAddress other) noexcept
{