mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 18:32:55 +00:00
remove QHashDummyNode and QHashDummyValue leftovers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
1435f76efd
commit
c008a0ed4d
3 changed files with 2 additions and 6 deletions
|
@ -299,8 +299,6 @@ classlist = [
|
|||
"QGuiPlatformPlugin",
|
||||
"QHash",
|
||||
"QHashData",
|
||||
"QHashDummyNode",
|
||||
"QHashDummyValue",
|
||||
"QHashNode",
|
||||
"QHBoxLayout",
|
||||
"QHeaderView",
|
||||
|
|
|
@ -66,8 +66,6 @@ set(CORE_PUBLIC_HEADERS
|
|||
QIODevice
|
||||
QtConfig
|
||||
QPair
|
||||
QHashDummyNode
|
||||
QHashDummyValue
|
||||
QFutureWatcherBase
|
||||
QPoint
|
||||
QByteArray
|
||||
|
|
|
@ -71,7 +71,7 @@ inline uint qHash(const SubArray &key)
|
|||
struct Symbol
|
||||
{
|
||||
#ifdef USE_LEXEM_STORE
|
||||
typedef QHash<SubArray, QHashDummyValue> LexemStore;
|
||||
typedef QSet<SubArray> LexemStore;
|
||||
static LexemStore lexemStore;
|
||||
|
||||
inline Symbol() : lineNum(-1),token(NOTOKEN){}
|
||||
|
@ -87,7 +87,7 @@ struct Symbol
|
|||
lex = it.key().array;
|
||||
} else {
|
||||
lex = lexem.mid(from, len);
|
||||
lexemStore.insert(lex, QHashDummyValue());
|
||||
lexemStore.insert(lex);
|
||||
}
|
||||
}
|
||||
int lineNum;
|
||||
|
|
Loading…
Add table
Reference in a new issue