office-gobmx/i18nlangtag/source
Mike Kaganski bf2ae3c25a Use constexpr instead of const
A local const static still needs a constructor the first time, and
the short atomic checks if it is initialized every time the control
flow crosses it.

A constexpr static does not need all of that.

Change-Id: I9c4cc082c7dfafcf6197dbe5a697ab27fdef2711
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162952
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-02-04 03:39:42 +01:00
..
isolang
languagetag