Browse code
Centralize definition of octet_vector type
Ed Langley authored on 14/06/2017 20:42:44
Showing 5 changed files
Showing 5 changed files
... | ... |
@@ -22,10 +22,10 @@ |
22 | 22 |
|
23 | 23 |
#include "sys_stdlib.h" |
24 | 24 |
#include "sys_time.h" |
25 |
+#include "typealiases.h" |
|
25 | 26 |
|
26 | 27 |
int ipow (int base, int exp); |
27 | 28 |
time_t time_step (const time_t time, const int step); |
28 |
-using octet_vector = std::vector<uint8_t>; |
|
29 | 29 |
|
30 | 30 |
class token_generator_ifc |
31 | 31 |
{ |
... | ... |
@@ -23,6 +23,7 @@ |
23 | 23 |
#include "sys_fstream.h" |
24 | 24 |
#include "generator.h" |
25 | 25 |
#include "base32.h" |
26 |
+#include "typealiases.h" |
|
26 | 27 |
|
27 | 28 |
class fake_user : public user_ifc |
28 | 29 |
{ |
... | ... |
@@ -103,7 +104,6 @@ public: |
103 | 104 |
} |
104 | 105 |
}; |
105 | 106 |
|
106 |
-using octet_vector = std::vector<uint8_t>; |
|
107 | 107 |
class fake_rand_with_specified_result : public random_source_ifc |
108 | 108 |
{ |
109 | 109 |
private: |