Browse files

minor template fix

  • Loading branch information...
1 parent a56a1b4 commit aeb2d0d7743a31be7b66bef3d59b54c38849a3df Alexander Stigsen committed Nov 30, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/tm_syntaxhandler.h
View
2 src/tm_syntaxhandler.h
@@ -196,7 +196,7 @@ template <class T> class sNode {
// Compare class for triggers
class TriggerCompare {
public:
- bool operator()(const wxString& a, const wxString &b) {
+ bool operator()(const wxString& a, const wxString &b) const {
size_t a_len = a.Len(), b_len = b.Len();
for (size_t i = 1; i <= a_len; i++) {
if (b_len < i) return true;

0 comments on commit aeb2d0d

Please sign in to comment.