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
The-EDev committed Oct 15, 2021
1 parent d267469 commit 19fd64e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/crow/json.h
Original file line number Diff line number Diff line change
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 19fd64e

Please sign in to comment.