[directwrite] Fix error
hb-directwrite.cc: In constructor 'TextAnalysis::TextAnalysis(const wchar_t*, uint32_t, const wchar_t*, DWRITE_READING_DIRECTION)': hb-directwrite.cc:489:18: error: 'TextAnalysis::mText' will be initialized after [-Werror=reorder] const wchar_t* mText; ^~~~~ hb-directwrite.cc:488:12: error: 'uint32_t TextAnalysis::mTextLength' [-Werror=reorder] uint32_t mTextLength; ^~~~~~~~~~~ hb-directwrite.cc:282:3: error: when initialized here [-Werror=reorder] TextAnalysis (const wchar_t* text, uint32_t textLength, ^~~~~~~~~~~~ hb-directwrite.cc: In function 'hb_bool_t _hb_directwrite_shape_full(hb_shape_plan_t*, hb_font_t*, hb_buffer_t*, const hb_feature_t*, unsigned int, float)':
This commit is contained in:
parent
b900f78088
commit
e65272281c
|
@ -281,7 +281,7 @@ public:
|
||||||
public:
|
public:
|
||||||
TextAnalysis (const wchar_t* text, uint32_t textLength,
|
TextAnalysis (const wchar_t* text, uint32_t textLength,
|
||||||
const wchar_t* localeName, DWRITE_READING_DIRECTION readingDirection)
|
const wchar_t* localeName, DWRITE_READING_DIRECTION readingDirection)
|
||||||
: mText (text), mTextLength (textLength), mLocaleName (localeName),
|
: mTextLength (textLength), mText (text), mLocaleName (localeName),
|
||||||
mReadingDirection (readingDirection), mCurrentRun (nullptr) {}
|
mReadingDirection (readingDirection), mCurrentRun (nullptr) {}
|
||||||
~TextAnalysis ()
|
~TextAnalysis ()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue