catch2/include
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
..
external fixing UB 2020-05-29 14:56:40 +02:00
internal Workaround AppleClang bug by renaming TestHasher constructor argument 2020-10-02 23:22:49 +02:00
reporters Fixup whitespace in TAPReporter 2020-07-12 20:27:25 +02:00
catch_with_main.hpp Fixed catch_with_main.hpp (no longer references deleted catch_runner.hpp) 2015-12-28 15:06:04 +00:00
catch.hpp v2.13.1 2020-09-07 12:34:55 +02:00