aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-20 17:19:08 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-20 17:19:08 +0000
commit55e248b0584abe1592423d7f4ce8520ea02a242c (patch)
tree4e7eebdfa690ed49458ba3c4f768d6062ad73e68
parent97ad3f693f2fc9905653d0edb5c269a79c7c5493 (diff)
downloadpaludis-55e248b0584abe1592423d7f4ce8520ea02a242c.tar.gz
paludis-55e248b0584abe1592423d7f4ce8520ea02a242c.tar.xz
Fix STL usage issues that can cause segfaults with Intel's compiler
-rw-r--r--paludis/version_spec.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/version_spec.cc b/paludis/version_spec.cc
index 09b275c..9fab178 100644
--- a/paludis/version_spec.cc
+++ b/paludis/version_spec.cc
@@ -372,7 +372,7 @@ VersionSpec::remove_revision() const
result._imp->parts.erase(std::remove_if(
result._imp->parts.begin(),
result._imp->parts.end(),
- IsRevisionPart()));
+ IsRevisionPart()), result._imp->parts.end());
std::string::size_type p;
if (std::string::npos != ((p = result._imp->text.rfind("-r"))))