Permalink
Browse files

Use strchr instead of std::find

  • Loading branch information...
1 parent 39f0ea5 commit a9ba549cdaa32a75e5e4df7c0328449d0728545b @sorbits sorbits committed Sep 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Frameworks/parse/src/parse.cc
View
2 Frameworks/parse/src/parse.cc
@@ -112,7 +112,7 @@ namespace parse
static char const* special = "\\|([{}]).?*+^$";
while(it != last)
{
- if(std::find(beginof(special), endof(special), *it) != endof(special))
+ if(strchr(special, *it))
{
DB(tmp += '\\');
*out++ = '\\';

0 comments on commit a9ba549

Please sign in to comment.