Skip to content

Commit 1e02544

Browse files
committed
Removed some obsolete code.
closes #33
1 parent eb78729 commit 1e02544

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/restc-cpp/helper.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ namespace restc_cpp {
2020
// recommended in Meyers, Effective STL when internationalization and embedded
2121
// NULLs aren't an issue. Much faster than the STL or Boost lex versions.
2222
// Source: http://stackoverflow.com/questions/1801892/making-mapfind-operation-case-insensitive
23-
struct ciLessLibC : public std::binary_function<std::string, std::string, bool> {
23+
struct ciLessLibC {
2424
bool operator()(const std::string &lhs, const std::string &rhs) const {
2525
return strcasecmp(lhs.c_str(), rhs.c_str()) < 0 ;
2626
}
2727
};
2828

29-
struct ciEqLibC : public std::binary_function<std::string, std::string, bool> {
29+
struct ciEqLibC {
3030
bool operator()(const std::string &lhs, const std::string &rhs) const {
3131
return strcasecmp(lhs.c_str(), rhs.c_str()) == 0 ;
3232
}

0 commit comments

Comments
 (0)