aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include/catch2
diff options
context:
space:
mode:
Diffstat (limited to 'toolsrc/include/catch2')
-rw-r--r--toolsrc/include/catch2/catch.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/include/catch2/catch.hpp b/toolsrc/include/catch2/catch.hpp
index 303f664ff..f471a2ec6 100644
--- a/toolsrc/include/catch2/catch.hpp
+++ b/toolsrc/include/catch2/catch.hpp
@@ -11282,10 +11282,10 @@ namespace Catch {
Capturer::Capturer( StringRef macroName, SourceLineInfo const& lineInfo, ResultWas::OfType resultType, StringRef names ) {
auto trimmed = [&] (size_t start, size_t end) {
- while (names[start] == ',' || isspace(names[start])) {
+ while (names[start] == ',' || isspace(static_cast<unsigned char>(names[start]))) {
++start;
}
- while (names[end] == ',' || isspace(names[end])) {
+ while (names[end] == ',' || isspace(static_cast<unsigned char>(names[end]))) {
--end;
}
return names.substr(start, end - start + 1);