Skip to content

Commit

Permalink
Refs #21186: Apply Miguel' suggestion
Browse files Browse the repository at this point in the history
Signed-off-by: JesusPoderoso <[email protected]>
  • Loading branch information
JesusPoderoso committed Jul 10, 2024
1 parent 169fff8 commit 74e200c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/cpp/topic_instances/CLIParser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ class CLIParser
input == "Circle" || input == "Square" || input == "Triangle" ||
input == "circle" || input == "square" || input == "triangle")
{
transform(input.begin(), input.begin(), input.begin(), ::toupper);
transform(input.begin(), input.begin() + 1, input.begin(), ::toupper);
transform(input.begin() + 1, input.end(), input.begin() + 1, ::tolower);
if (config.entity == CLIParser::EntityKind::PUBLISHER)
{
Expand Down

0 comments on commit 74e200c

Please sign in to comment.