Browse Source

Fixed incorrect comparison function

master
Artyom Beilis 7 years ago
parent
commit
95e2f7b4ee
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/encoding.cpp

+ 1
- 1
src/encoding.cpp View File

@@ -31,7 +31,7 @@ namespace impl{
return (*this)(lp,rp);
}

bool operator()(std::string const &l,char const &rp) const
bool operator()(std::string const &l,char const *rp) const
{
char const *lp=l.c_str();
return (*this)(lp,rp);


Loading…
Cancel
Save