summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qstringmatcher.h
diff options
context:
space:
mode:
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;
};
};