summaryrefslogtreecommitdiff
path: root/src/common.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.hpp')
-rw-r--r--src/common.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.hpp b/src/common.hpp
index 4c8d5f23..8ab37682 100644
--- a/src/common.hpp
+++ b/src/common.hpp
@@ -27,7 +27,7 @@ Ordering ord(const ::std::vector<T>& l, const ::std::vector<T>& r)
unsigned int i = 0;
for(const auto& it : l)
{
- if( i > r.size() )
+ if( i >= r.size() )
return OrdGreater;
auto rv = it.ord(r[i]);