diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2018-08-17 13:07:14 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2018-08-20 09:26:10 +0000 |
commit | e4cee4bd572a95eff8d908fb0a1b8cd810f0934e (patch) | |
tree | 0f84eb2fb3570d8b3b8f27498caf3fb3997003c0 /doc/src | |
parent | 67984b265a359a217c833938475a51c010057344 (diff) |
Add some local const variables to save some repeated computation
QTimeZonePrivate::dataForLocalTime() makes repeated use of the times
sixteen hours before and after the target local time, so compute those
up front once instead of each time they're needed, giving them
expressive names and making code terser.
Change-Id: I4b682cc6de2adb98c3ee5489eec4b63ac1090961
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions