mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
~ Replaced foreach character type unsigned char
by auto
to resolve issue #195.
This commit is contained in:
parent
a24f15a1b3
commit
df41cbec49
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user