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

@@ -32,7 +32,6 @@
#if !defined(TINS_DOT11_DOT11_H) && defined(TINS_HAVE_DOT11)
#define TINS_DOT11_DOT11_H
#include <list>
#include "../pdu.h"
#include "../pdu_option.h"
#include "../small_uint.h"
@@ -67,7 +66,7 @@ public:
/**
* The type used to store tagged options.
*/
typedef std::list<option> options_type;
typedef std::vector<option> options_type;
/**
* \brief This PDU's flag.