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, 2 insertions, 0 deletions
diff --git a/src/common.hpp b/src/common.hpp
index 27a45c32..b140e506 100644
--- a/src/common.hpp
+++ b/src/common.hpp
@@ -125,6 +125,8 @@ Ordering ord(const ::std::vector<T>& l, const ::std::vector<T>& r)
i ++;
}
+ if( i < r.size() )
+ return OrdLess;
return OrdEqual;
}
template<typename T, typename U>