dfa: standardise 'using' instead of typedef

This commit is contained in:
Justin Viiret
2017-05-15 10:02:13 +10:00
committed by Matthew Barr
parent 0d7d52625c
commit 85f7790a21
4 changed files with 11 additions and 12 deletions

View File

@@ -53,8 +53,8 @@ namespace {
class Automaton_Merge {
public:
typedef vector<u16> StateSet;
typedef ue2::unordered_map<StateSet, dstate_id_t> StateMap;
using StateSet = vector<u16>;
using StateMap = unordered_map<StateSet, dstate_id_t>;
Automaton_Merge(const raw_dfa *rdfa1, const raw_dfa *rdfa2,
const ReportManager *rm_in, const Grey &grey_in)