aboutsummaryrefslogtreecommitdiff
path: root/src/clients/reconcilio/littlelf/elf.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 /src/clients/reconcilio/littlelf/elf.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 'src/clients/reconcilio/littlelf/elf.hh')
-rw-r--r--src/clients/reconcilio/littlelf/elf.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/clients/reconcilio/littlelf/elf.hh b/src/clients/reconcilio/littlelf/elf.hh
index d123070c9..721a2a133 100644
--- a/src/clients/reconcilio/littlelf/elf.hh
+++ b/src/clients/reconcilio/littlelf/elf.hh
@@ -88,7 +88,8 @@ class ElfObject :
return _hdr.e_shnum;
}
- typedef paludis::WrappedForwardIterator<enum SectionIteratorTag { }, Section<ElfType_> > SectionIterator;
+ struct SectionIteratorTag;
+ typedef paludis::WrappedForwardIterator<SectionIteratorTag, Section<ElfType_> > SectionIterator;
SectionIterator section_begin() const;
SectionIterator section_end() const;