remove unneeded cast operator on QConstStringData

Change-Id: Ib5f090cd6c716e1d936894be206b78629e70137b
Reviewed-on: http://codereview.qt.nokia.com/1487
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Olivier Goffart <olivier.goffart@nokia.com>
This commit is contained in:
Lars Knoll 2011-07-12 09:08:55 +02:00 committed by Qt by Nokia
parent 6618dd877f
commit 82454b6014

View File

@ -101,7 +101,6 @@ template<int n> struct QConstStringData
{
const QStringData str;
const char16_t data[n];
operator const QStringData &() const { return str; }
};
#define QT_QSTRING_UNICODE_MARKER u""
@ -111,7 +110,6 @@ template<int n> struct QConstStringData
{
const QStringData str;
const wchar_t data[n];
operator const QStringData &() const { return str; }
};
#define QT_QSTRING_UNICODE_MARKER L""
@ -120,7 +118,6 @@ template<int n> struct QConstStringData
{
const QStringData str;
const ushort data[n];
operator const QStringData &() const { return str; }
};
#endif