Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/projects/SelfTest/UsageTests/ToStringTuple.tests.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2020-10-02 23:22:49 +0200
committerMartin Hořeňovský2020-10-02 23:22:49 +0200
commit7c75ecaef441e951a1b9240c5400e2947f190d48 (patch)
treeabcffa1dde4946c846ebf56c6389eb5ecb35a7f3 /projects/SelfTest/UsageTests/ToStringTuple.tests.cpp
parentfba0feeba1e3b94b846d4c64338d53356671d44a (diff)
downloadcatch3-7c75ecaef441e951a1b9240c5400e2947f190d48.tar.gz
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
Diffstat (limited to 'projects/SelfTest/UsageTests/ToStringTuple.tests.cpp')
0 files changed, 0 insertions, 0 deletions