Commit e60782e
GH-48376: [C++] Update GoogleTest from 1.16.0 to 1.17.0
This updates GoogleTest to version 1.17.0 to prevent potential undefined
behavior in ASSERT_DOUBLE_EQ and ASSERT_FLOAT_EQ macros.
Prior to version 1.17, GoogleTest used union-based type punning which is
undefined behavior in C++ (reading from a union member that wasn't most
recently written). This was fixed in GoogleTest commit 59c924bc.
See: google/googletest@59c924b1 parent 5fbd2dc commit e60782e
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
| 79 | + | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
0 commit comments