From e73dafc33914269f56a607a28aed8c6b813b289f Mon Sep 17 00:00:00 2001 From: Paul Walker Date: Wed, 30 Oct 2024 18:35:44 -0400 Subject: [PATCH] Respond to review feedback; uppercase char[0] --- src/detail/auv2/build-helper/build-helper.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/detail/auv2/build-helper/build-helper.cpp b/src/detail/auv2/build-helper/build-helper.cpp index 9961fad3..23a42c9a 100644 --- a/src/detail/auv2/build-helper/build-helper.cpp +++ b/src/detail/auv2/build-helper/build-helper.cpp @@ -85,8 +85,13 @@ struct auInfo { of << " tags\n" << " \n"; - for (const auto &tag : tags) + for (auto tag : tags) // purposefully take a copy so we can mutate case { + if (tag[0] >= 'a' && tag[0] <= 'z') + { + // Upper case the first char + tag[0] = std::toupper(tag[0]); + } of << " " << tag << "\n"; } of << " \n";