~ Replaced foreach character type unsigned char by auto to resolve issue #195.

This commit is contained in:
Lucas David 2021-08-11 15:43:40 +02:00
parent a24f15a1b3
commit df41cbec49

View File

@ -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)
{