1
0
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:
Matias Fontanini
2014-05-06 00:13:05 -03:00
parent 4bf5876adf
commit 559c963d63
15 changed files with 674 additions and 542 deletions

View File

@@ -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();
}