mirror of
https://github.com/mfontanini/libtins
synced 2026-01-28 12:44:25 +01:00
Fixed compilation errors on Windows.
This commit is contained in:
@@ -37,8 +37,6 @@
|
||||
#include "rawpdu.h"
|
||||
#include "exceptions.h"
|
||||
|
||||
using std::list;
|
||||
|
||||
namespace Tins {
|
||||
const uint8_t LLC::GLOBAL_DSAP_ADDR = 0xFF;
|
||||
const uint8_t LLC::NULL_ADDR = 0x00;
|
||||
@@ -230,7 +228,7 @@ void LLC::write_serialization(uint8_t *buffer, uint32_t total_sz, const Tins::PD
|
||||
break;
|
||||
}
|
||||
|
||||
for (list<field_type>::const_iterator it = information_fields.begin(); it != information_fields.end(); it++) {
|
||||
for (std::list<field_type>::const_iterator it = information_fields.begin(); it != information_fields.end(); it++) {
|
||||
std::copy(it->begin(), it->end(), buffer);
|
||||
buffer += it->size();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user