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

summaryrefslogtreecommitdiffhomepage
path: root/projects/SelfTest/ToStringVector.cpp
diff options
context:
space:
mode:
authorBilly Robert O'Neal III2016-10-14 14:08:57 -0700
committerBilly Robert O'Neal III2016-10-14 14:16:21 -0700
commit79f01100e33cb28af06be67da9755e36566970dc (patch)
treedb3b6b021847621ac40e52c2128ac46b3e2831bf /projects/SelfTest/ToStringVector.cpp
parentccf7f2842a356e8901f8e6fe988da2f5a93db329 (diff)
downloadcatch3-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/ToStringVector.cpp')
0 files changed, 0 insertions, 0 deletions