1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Remove useless includes

This commit is contained in:
Matias Fontanini
2017-04-30 17:34:02 -07:00
parent 815889bd22
commit 86da3818ff
21 changed files with 43 additions and 58 deletions

View File

@@ -30,7 +30,6 @@
#ifndef TINS_PACKET_H
#define TINS_PACKET_H
#include <algorithm>
#include "cxxstd.h"
#include "pdu.h"
#include "timestamp.h"
@@ -234,7 +233,9 @@ public:
*/
Packet& operator=(Packet &&rhs) TINS_NOEXCEPT {
if (this != &rhs) {
std::swap(pdu_, rhs.pdu_);
PDU* tmp = std::move(pdu_);
pdu_ = std::move(rhs.pdu_);
rhs.pdu_ = std::move(tmp);
ts_ = rhs.timestamp();
}
return* this;

View File

@@ -34,12 +34,9 @@
#ifdef TINS_HAVE_TCPIP
#include <vector>
#include <array>
#include <map>
#include <functional>
#include <stdint.h>
#include "../hw_address.h"
#include "../macros.h"
#include "ack_tracker.h"
#include "data_tracker.h"

View File

@@ -32,7 +32,6 @@
#include <map>
#include <utility>
#include <iterator>
#include <vector>
#include <algorithm>
#include <stdint.h>