OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b6ab48
)
add dummy member to QRegExpCharClass only if QT_NO_REGEXP_OPTIM is defined
author
Ivailo Monev
<xakepa10@laimg.moc>
Fri, 13 Dec 2019 20:02:55 +0000
(20:02 +0000)
committer
Ivailo Monev
<xakepa10@laimg.moc>
Fri, 13 Dec 2019 20:02:55 +0000
(20:02 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/core/tools/qregexp.cpp
patch
|
blob
|
history
diff --git
a/src/core/tools/qregexp.cpp
b/src/core/tools/qregexp.cpp
index
8bb409c
..
1195f96
100644
(file)
--- a/
src/core/tools/qregexp.cpp
+++ b/
src/core/tools/qregexp.cpp
@@
-1047,13
+1047,13
@@
private:
#else
struct QRegExpCharClass
{
- int dummy;
-
#ifndef QT_NO_REGEXP_OPTIM
QRegExpCharClass() { occ1.fill(0, NumBadChars); }
const QVector<int> &firstOccurrence() const { return occ1; }
QVector<int> occ1;
+#else
+ int dummy;
#endif
};
#endif