summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qstringmatcher.h
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-07-23 07:01:58 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-07-23 07:01:58 (GMT)
commit7465d6fca7ed193f71f2a68cd04e290c4436d4cf (patch)
tree78bf4f9ff97ea9a7499d9016bca58e694e5f0afd /src/corelib/tools/qstringmatcher.h
parentfa9a292388e93f128eac2ba4438f8b1e772a4782 (diff)
parent7fe100b56ccca40de193164d3ce19600cf50bdd4 (diff)
downloadQt-7465d6fca7ed193f71f2a68cd04e290c4436d4cf.zip
Qt-7465d6fca7ed193f71f2a68cd04e290c4436d4cf.tar.gz
Qt-7465d6fca7ed193f71f2a68cd04e290c4436d4cf.tar.bz2
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'src/corelib/tools/qstringmatcher.h')
-rw-r--r--src/corelib/tools/qstringmatcher.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/corelib/tools/qstringmatcher.h b/src/corelib/tools/qstringmatcher.h
index 2b8edc9..61b7a95 100644
--- a/src/corelib/tools/qstringmatcher.h
+++ b/src/corelib/tools/qstringmatcher.h
@@ -81,13 +81,14 @@ private:
// explicitely allow anonymous unions for RVCT to prevent compiler warnings
#pragma anon_unions
#endif
+ struct Data {
+ uchar q_skiptable[256];
+ const QChar *uc;
+ int len;
+ };
union {
uint q_data[256];
- struct {
- uchar q_skiptable[256];
- const QChar *uc;
- int len;
- } p;
+ Data p;
};
};