aboutsummaryrefslogtreecommitdiff
path: root/python
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 /python
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 'python')
-rw-r--r--python/dep_spec.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/dep_spec.hh b/python/dep_spec.hh
index 3172240..b200a0d 100644
--- a/python/dep_spec.hh
+++ b/python/dep_spec.hh
@@ -93,8 +93,8 @@ namespace paludis
void add_child(const tr1::shared_ptr<const PythonDepSpec>);
- typedef WrappedForwardIterator<enum ConstIteratorTag { },
- const tr1::shared_ptr<const PythonDepSpec> > ConstIterator;
+ struct ConstIteratorTag;
+ typedef WrappedForwardIterator<ConstIteratorTag, const tr1::shared_ptr<const PythonDepSpec> > ConstIterator;
ConstIterator begin() const
PALUDIS_ATTRIBUTE((warn_unused_result));