mirror of
https://github.com/mfontanini/libtins
synced 2026-01-23 02:35:57 +01:00
Remove useless includes
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
|
||||
#include <map>
|
||||
#include <utility>
|
||||
#include <iterator>
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
#include <stdint.h>
|
||||
|
||||
Reference in New Issue
Block a user