aboutsummaryrefslogtreecommitdiff
path: root/paludis/contents.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-11-02 07:39:03 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-11-02 07:39:03 +0000
commitd832a1dd9e9718619bfb7bb7d0e3b48e26e65a33 (patch)
tree181f346e514cd8ff33c732f2b33ce234f1061cec /paludis/contents.hh
parentfef0280d7576927a74b8e7d2a0a96e700348f8b3 (diff)
downloadpaludis-d832a1dd9e9718619bfb7bb7d0e3b48e26e65a33.tar.gz
paludis-d832a1dd9e9718619bfb7bb7d0e3b48e26e65a33.tar.xz
Stop using libebt, libwrapiter. C++0x compliant iterators. Use static_assert, concepts where available.
Diffstat (limited to 'paludis/contents.hh')
-rw-r--r--paludis/contents.hh3
1 files changed, 1 insertions, 2 deletions
diff --git a/paludis/contents.hh b/paludis/contents.hh
index 3317706..667dd98 100644
--- a/paludis/contents.hh
+++ b/paludis/contents.hh
@@ -28,7 +28,6 @@
#include <paludis/util/tr1_memory.hh>
#include <string>
-#include <libwrapiter/libwrapiter_forward_iterator-fwd.hh>
/** \file
* Declarations for the Contents classes.
@@ -240,7 +239,7 @@ namespace paludis
///\name Iterate over our entries
///\{
- typedef libwrapiter::ForwardIterator<Contents, const tr1::shared_ptr<const ContentsEntry> > ConstIterator;
+ typedef WrappedForwardIterator<enum ConstIteratorTag { }, const tr1::shared_ptr<const ContentsEntry> > ConstIterator;
ConstIterator begin() const
PALUDIS_ATTRIBUTE((warn_unused_result));