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

@@ -79,9 +79,8 @@ never_inline
bool determinise(Auto &n, std::vector<ds> &dstates, size_t state_limit,
std::vector<typename Auto::StateSet> *statesets_out = nullptr) {
DEBUG_PRINTF("the determinator\n");
typedef typename Auto::StateSet StateSet;
typedef typename Auto::StateMap DstateIdMap;
DstateIdMap dstate_ids;
using StateSet = typename Auto::StateSet;
typename Auto::StateMap dstate_ids;
const size_t alphabet_size = n.alphasize;