diff options
author | Evangelos Trantos <evangelos@copernica-Latitude-E6540.(none)> | 2014-03-12 14:38:37 +0100 |
---|---|---|
committer | Evangelos Trantos <evangelos@copernica-Latitude-E6540.(none)> | 2014-03-12 14:38:37 +0100 |
commit | aae377d3d1890cdf37ed0a88f24268aa66e5dbf2 (patch) | |
tree | 3fd26acc0c64edc4dff83dfcaf30044065ebf777 | |
parent | 4415b472ae57e367e1fcece4c04355b55a868a1b (diff) |
fixed wrong comparison operator
-rw-r--r-- | include/class.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/class.h b/include/class.h index 427aa64..628b6f9 100644 --- a/include/class.h +++ b/include/class.h @@ -198,7 +198,7 @@ private: // compare the two objects if (*t1 < *t2) return -1; - if (*t1 > *t2) return 1; + if (*t2 < *t1) return 1; // they must be identical return 0; |