Tehreer / SheenFigure

An implementation of advanced typographic tables of OpenType specification.
Apache License 2.0
31 stars 6 forks source link

ArabicShaping: Initialize member variables in declaration order #15

Open brawer opened 12 months ago

brawer commented 12 months ago

This fixes the following warning when compiling with Apple clang 15.0.0:

Compiling C++ object libparser.dylib.p/Tools_Parser_ArabicShaping.cpp.o
../Tools/Parser/ArabicShaping.cpp:37:5: warning: field 'm_offsets' will be initialized after field 'm_firstCodePoint' [-Wreorder-ctor]
    m_offsets(0x200000),
    ^~~~~~~~~~~~~~~~~~~
    m_lastCodePoint(0)
1 warning generated.