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

Use vector instead of lists everywhere

This commit is contained in:
Matias Fontanini
2017-05-13 11:14:11 -07:00
parent fcad90b5e9
commit cedd127e8f
16 changed files with 19 additions and 35 deletions

View File

@@ -30,7 +30,6 @@
#ifndef TINS_IPV6_h
#define TINS_IPV6_h
#include <list>
#include "macros.h"
#include "pdu.h"
#include "endianness.h"
@@ -71,7 +70,7 @@ public:
/**
* The type used to store the extension headers.
*/
typedef std::list<ext_header> headers_type;
typedef std::vector<ext_header> headers_type;
/**
* The values used to identify extension headers.