mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-17 11:12:25 +01:00
aaefa4e0e0
Catch passes ::tolower into std::transform with string iterators. ::tolower has the signature int(int), which triggers a stealth narrowing warning inside std::transform, because transform calls *_Dest = _Fn(*_First), which implicitly narrows an int to a char. For this particular application the narrowing is fine, so explicitly narrow in an inline function. This is identical to the issue that was fixed in pull request #728, just in a different place. |
||
---|---|---|
.. | ||
clara.h | ||
tbc_text_format.h |