Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArabicShaping: Initialize member variables in declaration order #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 17, 2023

  1. ArabicShaping: Initialize member variables in declaration order

    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.
    ```
    brawer committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    3f71bbd View commit details
    Browse the repository at this point in the history