aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-17 00:40:17 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-17 00:40:17 +0000
commit51e034bd07cc1ebb33c54511ee2291f569f96625 (patch)
tree37dd6c9e089de000c7e8d5c022198ac5d9099fc4
parent1186146e44a2d7f50f61b466f3fa64e79dab4825 (diff)
downloadpaludis-51e034bd07cc1ebb33c54511ee2291f569f96625.tar.gz
paludis-51e034bd07cc1ebb33c54511ee2291f569f96625.tar.xz
Fix VDBEntry's operator< to return false rather than an undefined value on equality.
-rw-r--r--paludis/vdb_repository.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/paludis/vdb_repository.cc b/paludis/vdb_repository.cc
index c86b46f..8253a5d 100644
--- a/paludis/vdb_repository.cc
+++ b/paludis/vdb_repository.cc
@@ -65,8 +65,7 @@ namespace
return false;
if (version < other.version)
return true;
- if (version > other.version)
- return false;
+ return false;
}
struct CompareCategory