Martin Hořeňovský 7c75ecaef4
Workaround AppleClang bug by renaming TestHasher constructor argument
As far as I understand the standard, if there is a function called
`rng` in the global namespace, and a function argument called `rng`,
then the argument should shadow the function. This then means that
uses of `rng` inside the function should refer to the argument.

This is not the case for AppleClang 12.0.0. Luckily the workaround
is simple enough; just rename the argument. Given that the function
is 3 lines and uncomplicated, the change of the name doesn't really
affect readability.

Still, WTF AppleClang?

Closes #2030
2020-10-02 23:22:49 +02:00
..
2017-09-07 17:25:15 +02:00
2020-07-06 11:35:02 +02:00
2020-07-06 11:35:02 +02:00
2020-01-25 09:01:04 +01:00
2020-03-28 18:00:42 +01:00
2020-07-01 19:28:50 +02:00
2019-08-09 10:50:53 +02:00
2017-09-07 17:25:15 +02:00
2017-08-30 15:53:39 +02:00
2020-02-08 14:27:40 +01:00
2019-02-08 10:41:23 +01:00
2017-07-27 11:32:01 +02:00
2020-01-25 09:01:04 +01:00
2020-05-29 14:56:40 +02:00
2019-09-07 11:31:00 +02:00
2019-01-11 11:55:51 +01:00
2020-09-07 12:34:55 +02:00