aboutsummaryrefslogtreecommitdiff
path: root/paludis/util/indirect_iterator-impl.hh
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/util/indirect_iterator-impl.hh')
-rw-r--r--paludis/util/indirect_iterator-impl.hh9
1 files changed, 8 insertions, 1 deletions
diff --git a/paludis/util/indirect_iterator-impl.hh b/paludis/util/indirect_iterator-impl.hh
index 6e4851dc7..0673997c5 100644
--- a/paludis/util/indirect_iterator-impl.hh
+++ b/paludis/util/indirect_iterator-impl.hh
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2007, 2008 Ciaran McCreesh
+ * Copyright (c) 2007, 2008, 2011 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -82,6 +82,13 @@ namespace paludis
}
template <typename Iter_, typename Value_>
+ typename IndirectIterator<Iter_, Value_>::underlying_iterator_type
+ IndirectIterator<Iter_, Value_>::underlying_iterator()
+ {
+ return _iter;
+ }
+
+ template <typename Iter_, typename Value_>
bool operator== (const IndirectIterator<Iter_, Value_> & lhs, const IndirectIterator<Iter_, Value_> & rhs)
{
return lhs._iter == rhs._iter;