summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/corelib/tools/qstringview.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qstringview.h b/src/corelib/tools/qstringview.h
index f3f3f52e08..bd59d4ee2c 100644
--- a/src/corelib/tools/qstringview.h
+++ b/src/corelib/tools/qstringview.h
@@ -103,12 +103,12 @@ struct IsCompatibleStdBasicString
class QStringView
{
+public:
#if defined(Q_OS_WIN) && !defined(Q_COMPILER_UNICODE_STRINGS)
typedef wchar_t storage_type;
#else
typedef char16_t storage_type;
#endif
-public:
typedef const QChar value_type;
typedef std::ptrdiff_t difference_type;
typedef qssize_t size_type;