diff options
author | Abseil Team <absl-team@google.com> | 2024-01-23 07:02:01 -0800 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2024-01-23 07:02:53 -0800 |
commit | 563ebf1769af08d448765c31064260e1a16fcced (patch) | |
tree | 3eca704c424bc48ce56d8bedc81a8a5716034752 /ci | |
parent | bd30c39d61a803def75d0b756f7cff3591655f91 (diff) | |
download | googletest-563ebf1769af08d448765c31064260e1a16fcced.zip googletest-563ebf1769af08d448765c31064260e1a16fcced.tar.gz googletest-563ebf1769af08d448765c31064260e1a16fcced.tar.bz2 |
Fix double-promotion warnings in AppropriateResolution()
When -Wdouble-promotion is enabled, the templatized function AppropriateResolution fails to compile since its float instantiation promotes floats to doubles when doing arithmetic and comparisons. Add static casts to resolve these errors.
PiperOrigin-RevId: 600776333
Change-Id: Ia530b4bbca6ddce27caf0a817196d87efef711cb
Diffstat (limited to 'ci')
0 files changed, 0 insertions, 0 deletions