mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 02:42: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",
|
"QGuiPlatformPlugin",
|
||||||
"QHash",
|
"QHash",
|
||||||
"QHashData",
|
"QHashData",
|
||||||
"QHashDummyNode",
|
|
||||||
"QHashDummyValue",
|
|
||||||
"QHashNode",
|
"QHashNode",
|
||||||
"QHBoxLayout",
|
"QHBoxLayout",
|
||||||
"QHeaderView",
|
"QHeaderView",
|
||||||
|
|
|
@ -66,8 +66,6 @@ set(CORE_PUBLIC_HEADERS
|
||||||
QIODevice
|
QIODevice
|
||||||
QtConfig
|
QtConfig
|
||||||
QPair
|
QPair
|
||||||
QHashDummyNode
|
|
||||||
QHashDummyValue
|
|
||||||
QFutureWatcherBase
|
QFutureWatcherBase
|
||||||
QPoint
|
QPoint
|
||||||
QByteArray
|
QByteArray
|
||||||
|
|
|
@ -71,7 +71,7 @@ inline uint qHash(const SubArray &key)
|
||||||
struct Symbol
|
struct Symbol
|
||||||
{
|
{
|
||||||
#ifdef USE_LEXEM_STORE
|
#ifdef USE_LEXEM_STORE
|
||||||
typedef QHash<SubArray, QHashDummyValue> LexemStore;
|
typedef QSet<SubArray> LexemStore;
|
||||||
static LexemStore lexemStore;
|
static LexemStore lexemStore;
|
||||||
|
|
||||||
inline Symbol() : lineNum(-1),token(NOTOKEN){}
|
inline Symbol() : lineNum(-1),token(NOTOKEN){}
|
||||||
|
@ -87,7 +87,7 @@ struct Symbol
|
||||||
lex = it.key().array;
|
lex = it.key().array;
|
||||||
} else {
|
} else {
|
||||||
lex = lexem.mid(from, len);
|
lex = lexem.mid(from, len);
|
||||||
lexemStore.insert(lex, QHashDummyValue());
|
lexemStore.insert(lex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
int lineNum;
|
int lineNum;
|
||||||
|
|
Loading…
Add table
Reference in a new issue