We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f84ad04 commit 25ca2f5Copy full SHA for 25ca2f5
1 file changed
include/crow/json.h
@@ -40,7 +40,7 @@ namespace crow // NOTE: Already documented in "crow/app.h"
40
if (c < 10)
41
return '0' + c;
42
return 'a' + c - 10;
43
- };
+ }
44
45
inline void escape(const std::string& str, std::string& ret)
46
{
@@ -573,7 +573,7 @@ namespace crow // NOTE: Already documented in "crow/app.h"
573
return it != end() && it->key_ == str;
574
}
575
576
- int count(const std::string& str)
+ int count(const std::string& str) const
577
578
return has(str) ? 1 : 0;
579
0 commit comments