aboutsummaryrefslogtreecommitdiff
path: root/paludis/contents.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-11-09 10:30:43 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-11-09 10:30:43 +0000
commit2aea4041781cca202655f5f092fabede80ebb13a (patch)
treee491ac0e60edd607cdd94900bdccf119ab50bd81 /paludis/contents.hh
parent34e79665cf7c11aae8c5d4aa219daab3a5aed343 (diff)
downloadpaludis-2aea4041781cca202655f5f092fabede80ebb13a.tar.gz
paludis-2aea4041781cca202655f5f092fabede80ebb13a.tar.xz
Don't use inline enums in typedefs. It confuses too many compilers
Diffstat (limited to 'paludis/contents.hh')
-rw-r--r--paludis/contents.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/paludis/contents.hh b/paludis/contents.hh
index 667dd98..1213546 100644
--- a/paludis/contents.hh
+++ b/paludis/contents.hh
@@ -239,7 +239,8 @@ namespace paludis
///\name Iterate over our entries
///\{
- typedef WrappedForwardIterator<enum ConstIteratorTag { }, const tr1::shared_ptr<const ContentsEntry> > ConstIterator;
+ struct ConstIteratorTag;
+ typedef WrappedForwardIterator<ConstIteratorTag, const tr1::shared_ptr<const ContentsEntry> > ConstIterator;
ConstIterator begin() const
PALUDIS_ATTRIBUTE((warn_unused_result));