diff options
author | Tobias Markmann <tm@ayena.de> | 2016-04-04 13:24:01 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2016-04-04 13:24:39 (GMT) |
commit | 4f3821a090931499b9c68b3b3ad785a98ea9d742 (patch) | |
tree | d73db72ce5dc3c547ceb56fa9522ce8f6f3e1336 /Swiften | |
parent | 741c45b74d5f634622eb5f757c49323274fb8937 (diff) | |
download | swift-4f3821a090931499b9c68b3b3ad785a98ea9d742.zip swift-4f3821a090931499b9c68b3b3ad785a98ea9d742.tar.bz2 |
Apply automated clang-tidy fixes and add missing includes
Test-Information:
Builds on OS X 10.11.4 and unit tests pass.
Change-Id: I8775e8d1e3addbc88b220c1cc618637f706daca2
Diffstat (limited to 'Swiften')
-rw-r--r-- | Swiften/Elements/JingleTransportPayload.h | 1 | ||||
-rw-r--r-- | Swiften/LinkLocal/DNSSD/Bonjour/BonjourResolveServiceQuery.h | 2 | ||||
-rwxr-xr-x | Swiften/Network/UnboundDomainNameResolver.cpp | 3 |
3 files changed, 5 insertions, 1 deletions
diff --git a/Swiften/Elements/JingleTransportPayload.h b/Swiften/Elements/JingleTransportPayload.h index d777213..dfd9d22 100644 --- a/Swiften/Elements/JingleTransportPayload.h +++ b/Swiften/Elements/JingleTransportPayload.h @@ -7,6 +7,7 @@ #pragma once #include <memory> +#include <string> #include <Swiften/Base/API.h> #include <Swiften/Elements/Payload.h> diff --git a/Swiften/LinkLocal/DNSSD/Bonjour/BonjourResolveServiceQuery.h b/Swiften/LinkLocal/DNSSD/Bonjour/BonjourResolveServiceQuery.h index 86b6015..7a5555e 100644 --- a/Swiften/LinkLocal/DNSSD/Bonjour/BonjourResolveServiceQuery.h +++ b/Swiften/LinkLocal/DNSSD/Bonjour/BonjourResolveServiceQuery.h @@ -6,6 +6,8 @@ #pragma once +#include <boost/numeric/conversion/cast.hpp> + #include <Swiften/Base/ByteArray.h> #include <Swiften/EventLoop/EventLoop.h> #include <Swiften/LinkLocal/DNSSD/Bonjour/BonjourQuery.h> diff --git a/Swiften/Network/UnboundDomainNameResolver.cpp b/Swiften/Network/UnboundDomainNameResolver.cpp index 380e087..1df6b8f 100755 --- a/Swiften/Network/UnboundDomainNameResolver.cpp +++ b/Swiften/Network/UnboundDomainNameResolver.cpp @@ -10,12 +10,13 @@ * See the COPYING file for more information. */ +#include <Swiften/Network/UnboundDomainNameResolver.h> + #include <memory> #include <vector> #include <boost/bind.hpp> -#include <UnboundDomainNameResolver.h> #include <arpa/inet.h> #include <ldns/ldns.h> #include <unbound.h> |