diff options
| author | Billy Robert O'Neal III | 2016-10-14 14:08:57 -0700 |
|---|---|---|
| committer | Billy Robert O'Neal III | 2016-10-14 14:16:21 -0700 |
| commit | 79f01100e33cb28af06be67da9755e36566970dc (patch) | |
| tree | db3b6b021847621ac40e52c2128ac46b3e2831bf /projects/SelfTest/ToStringTuple.cpp | |
| parent | ccf7f2842a356e8901f8e6fe988da2f5a93db329 (diff) | |
| download | catch3-79f01100e33cb28af06be67da9755e36566970dc.tar.gz | |
Fix transform narrowing warnings
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 a lambda.
Diffstat (limited to 'projects/SelfTest/ToStringTuple.cpp')
0 files changed, 0 insertions, 0 deletions