Skip to content

Commit 19fd64e

Browse files
committed
~ Replaced foreach character type unsigned char by auto to resolve issue #195.
1 parent d267469 commit 19fd64e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: include/crow/json.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ namespace crow
4141
inline void escape(const std::string& str, std::string& ret)
4242
{
4343
ret.reserve(ret.size() + str.size()+str.size()/4);
44-
for(unsigned char c:str)
44+
for(auto c:str)
4545
{
4646
switch(c)
4747
{

0 commit comments

Comments
 (0)