Page MenuHomePhabricator

[Expressions] Fix -Wreorder warning from r353149

Authored by krasimir on Feb 5 2019, 3:23 AM.


ClangExpressionDeclMap.cpp:72:60: error: field 'm_struct_vars' will be initialized after field 'm_ctx_obj' [-Werror,-Wreorder]
      m_result_delegate(result_delegate), m_parser_vars(), m_struct_vars(),

Event Timeline

krasimir created this revision.Feb 5 2019, 3:23 AM
aleksandr.urakov accepted this revision.Feb 5 2019, 3:32 AM
aleksandr.urakov added a subscriber: aleksandr.urakov.

Oh, sorry for this, there was even no warning about that on my system. Thanks for catching that!

This revision is now accepted and ready to land.Feb 5 2019, 3:32 AM

No worries. Thanks for the quick response!

This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 5 2019, 3:36 AM