Tidy up AlphaCode and LanguageCodeEntry in qlocale_data_p.h
Open-braces on the two struct definitions were misplaced and a C-comment was a single line so might as well be a C++-comment. Change-Id: I6efd938c25f4bf53d4e0589886bc5cc8e4d282af Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
This commit is contained in:
parent
f308024b17
commit
9f4ba98a37
@ -24,10 +24,9 @@
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
/*
|
||||
Storage for alpha codes with length of up to 4 allowing efficient comparison.
|
||||
*/
|
||||
struct AlphaCode {
|
||||
// Storage for alpha codes, with length of up to 4, supporting efficient comparison.
|
||||
struct AlphaCode
|
||||
{
|
||||
constexpr AlphaCode(char c1 = 0, char c2 = 0, char c3 = 0)
|
||||
: c1(c2m(c1)), c2(c2m(c2)), c3(c2m(c3)), reserved(0) { }
|
||||
|
||||
@ -50,7 +49,8 @@ private:
|
||||
}
|
||||
};
|
||||
|
||||
struct LanguageCodeEntry {
|
||||
struct LanguageCodeEntry
|
||||
{
|
||||
AlphaCode part1;
|
||||
AlphaCode part2B;
|
||||
AlphaCode part2T;
|
||||
|
Loading…
x
Reference in New Issue
Block a user