aboutsummaryrefslogtreecommitdiff
path: root/src/clients/reconcilio/littlelf
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/reconcilio/littlelf')
-rw-r--r--src/clients/reconcilio/littlelf/elf.hh3
-rw-r--r--src/clients/reconcilio/littlelf/elf_dynamic_section.hh3
-rw-r--r--src/clients/reconcilio/littlelf/elf_relocation_section.hh3
-rw-r--r--src/clients/reconcilio/littlelf/elf_symbol_section.hh3
4 files changed, 8 insertions, 4 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;
diff --git a/src/clients/reconcilio/littlelf/elf_dynamic_section.hh b/src/clients/reconcilio/littlelf/elf_dynamic_section.hh
index 2e17a2e2d..6c510398e 100644
--- a/src/clients/reconcilio/littlelf/elf_dynamic_section.hh
+++ b/src/clients/reconcilio/littlelf/elf_dynamic_section.hh
@@ -203,7 +203,8 @@ class DynamicSection :
void resolve_entry_names(Section<ElfType_> &);
- typedef paludis::WrappedForwardIterator<enum EntryIteratorTag { }, DynamicEntry<ElfType_> > EntryIterator;
+ struct EntryIteratorTag;
+ typedef paludis::WrappedForwardIterator<EntryIteratorTag, DynamicEntry<ElfType_> > EntryIterator;
EntryIterator entry_begin() const;
EntryIterator entry_end() const;
};
diff --git a/src/clients/reconcilio/littlelf/elf_relocation_section.hh b/src/clients/reconcilio/littlelf/elf_relocation_section.hh
index 0596081a6..bcf19ccc2 100644
--- a/src/clients/reconcilio/littlelf/elf_relocation_section.hh
+++ b/src/clients/reconcilio/littlelf/elf_relocation_section.hh
@@ -88,7 +88,8 @@ class RelocationSection :
return Relocation_::type_name;
}
- typedef paludis::WrappedForwardIterator<enum RelocationIteratorTag { }, const typename Relocation_::Entry> RelocationIterator;
+ struct RelocationIteratorTag;
+ typedef paludis::WrappedForwardIterator<RelocationIteratorTag, const typename Relocation_::Entry> RelocationIterator;
RelocationIterator relocation_begin() const;
RelocationIterator relocation_end() const;
};
diff --git a/src/clients/reconcilio/littlelf/elf_symbol_section.hh b/src/clients/reconcilio/littlelf/elf_symbol_section.hh
index 3f7d4fc33..bcacdd65b 100644
--- a/src/clients/reconcilio/littlelf/elf_symbol_section.hh
+++ b/src/clients/reconcilio/littlelf/elf_symbol_section.hh
@@ -76,7 +76,8 @@ class SymbolSection :
void resolve_symbols(Section<ElfType_> &);
- typedef paludis::WrappedForwardIterator<enum SymbolIteratorTag { }, const Symbol<ElfType_ > > SymbolIterator;
+ struct SymbolIteratorTag;
+ typedef paludis::WrappedForwardIterator<SymbolIteratorTag, const Symbol<ElfType_ > > SymbolIterator;
SymbolIterator symbol_begin() const;
SymbolIterator symbol_end() const;
};