mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
rdfa: make getImplAlphaSize() inline
This commit is contained in:
parent
84030aa0fc
commit
14333f5b0b
@ -33,10 +33,6 @@ namespace ue2 {
|
||||
// prevent weak vtables
|
||||
raw_dfa::~raw_dfa() {}
|
||||
|
||||
u16 raw_dfa::getImplAlphaSize() const {
|
||||
return alpha_size - N_SPECIAL_SYMBOL;
|
||||
}
|
||||
|
||||
void raw_dfa::stripExtraEodReports(void) {
|
||||
/* if a state generates a given report as a normal accept - then it does
|
||||
* not also need to generate an eod report for it */
|
||||
|
@ -81,7 +81,7 @@ struct raw_dfa {
|
||||
explicit raw_dfa(nfa_kind k) : kind(k) {}
|
||||
virtual ~raw_dfa();
|
||||
|
||||
u16 getImplAlphaSize() const;
|
||||
u16 getImplAlphaSize() const { return alpha_size - N_SPECIAL_SYMBOL; }
|
||||
virtual void stripExtraEodReports(void);
|
||||
bool hasEodReports(void) const;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user