diff options
| author | Edward Welbourne <edward.welbourne@qt.io> | 2023-01-11 20:28:27 +0100 |
|---|---|---|
| committer | Edward Welbourne <edward.welbourne@qt.io> | 2023-01-12 15:47:34 +0100 |
| commit | 903157444098035ba8372f0951543b7756a2ec0f (patch) | |
| tree | b6d3f31d1c50d522d3650edaec5ddc145975aa4e /src/gui/platform/unix/qunixnativeinterface.cpp | |
| parent | 80686be0862c3cc37e12db679e46640316ac8e78 (diff) | |
Make QDateTime::Data::CanBeSmall a static constexpr bool
Using enum for named constants is old-fashioned.
Also test it using if constexpr, since we can.
Change-Id: I1fc4ed975e12403bc724b39f9335f3797acfafb8
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/platform/unix/qunixnativeinterface.cpp')
0 files changed, 0 insertions, 0 deletions
