From 69d3e96e02d4726d79aaf2d82acd30a903aa5a74 Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Sat, 18 Mar 2023 14:37:35 +0200 Subject: [PATCH] QLocaleData: move CharBuff typedef out of QLocaleData It'll be used by another struct in a subsequent commit. Change-Id: Ia94c6ae3506f9ba6cba6b71a5839bff8b3a2ab1f Reviewed-by: Thiago Macieira --- src/corelib/text/qlocale_p.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/corelib/text/qlocale_p.h b/src/corelib/text/qlocale_p.h index aa9fc59bd4..649f75fbeb 100644 --- a/src/corelib/text/qlocale_p.h +++ b/src/corelib/text/qlocale_p.h @@ -211,6 +211,9 @@ struct QLocaleId }; Q_DECLARE_TYPEINFO(QLocaleId, Q_PRIMITIVE_TYPE); + +using CharBuff = QVarLengthArray; + struct QLocaleData { public: @@ -244,8 +247,6 @@ public: enum NumberMode { IntegerMode, DoubleStandardMode, DoubleScientificMode }; - typedef QVarLengthArray CharBuff; - private: enum PrecisionMode { PMDecimalDigits = 0x01,