Skip to content

Commit

Permalink
removed auto from lambda parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusbancila committed May 2, 2022
1 parent d5026f6 commit 5c28f41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/croncpp.h
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ namespace cron
inline std::string to_upper(std::string text)
{
std::transform(std::begin(text), std::end(text),
std::begin(text), [](auto const c) { return static_cast<char>(std::toupper(c)); });
std::begin(text), [](char const c) { return static_cast<char>(std::toupper(c)); });

return text;
}
Expand Down

0 comments on commit 5c28f41

Please sign in to comment.