Commit f4526a3
David Roberts
[7.x][ML] Work around compile error in old Xcode (#700)
The problem is described in
https://stackoverflow.com/questions/7411515/why-does-c-require-a-user-provided-default-constructor-to-default-construct-a
Moving construction of the hasher object into the checksum
method won't matter in practice as the constructor is a
no-op and the object has no data members, so it should get
completely optimised away.
Backport of #6991 parent 1becee7 commit f4526a3
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
0 commit comments