Commit 97194a4b authored by Timur Pocheptsov's avatar Timur Pocheptsov
Browse files

Nfc - guarantee statics initialization order


Use Q_GLOBAL_STATIC instead of simple static QMap object to avoid problems with
undefined initialization order for 'statics' from different translation units.

Task-number: QTBUG-51860
Change-Id: I6ce48f3c0770dc0ff125b443816f6b3b23ae809e
Reviewed-by: default avatarAlex Blasche <alexander.blasche@theqtcompany.com>
parent 03e694e2
Showing with 6 additions and 3 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment