Skip to content

Commit

Permalink
~ Replaced foreach character type unsigned char by auto to resolv…
Browse files Browse the repository at this point in the history
…e issue #195.
  • Loading branch information
Lucas David committed Aug 11, 2021
1 parent a24f15a commit df41cbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/crow/json.h
Expand Up @@ -41,7 +41,7 @@ namespace crow
inline void escape(const std::string& str, std::string& ret)
{
ret.reserve(ret.size() + str.size()+str.size()/4);
for(unsigned char c:str)
for(auto c:str)
{
switch(c)
{
Expand Down

0 comments on commit df41cbe

Please sign in to comment.