summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/corelib/tools/qchar.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/corelib/tools/qchar.h b/src/corelib/tools/qchar.h
index cd30dace09..d6db72d5ac 100644
--- a/src/corelib/tools/qchar.h
+++ b/src/corelib/tools/qchar.h
@@ -228,11 +228,7 @@ public:
char toAscii() const;
inline char toLatin1() const;
inline ushort unicode() const { return ucs; }
-#ifdef Q_NO_PACKED_REFERENCE
- inline ushort &unicode() { return const_cast<ushort&>(ucs); }
-#else
inline ushort &unicode() { return ucs; }
-#endif
static QChar fromAscii(char c);
static QChar fromLatin1(char c);