aboutsummaryrefslogtreecommitdiff
path: root/src/clients
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients')
-rw-r--r--src/clients/contrarius/target_config.hh3
-rw-r--r--src/clients/reconcilio/broken_linkage_finder/broken_linkage_finder.hh9
-rw-r--r--src/clients/reconcilio/broken_linkage_finder/configuration.hh3
-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
7 files changed, 18 insertions, 9 deletions
diff --git a/src/clients/contrarius/target_config.hh b/src/clients/contrarius/target_config.hh
index 535490e9e..835a96683 100644
--- a/src/clients/contrarius/target_config.hh
+++ b/src/clients/contrarius/target_config.hh
@@ -47,7 +47,8 @@ class TargetConfig :
private:
typedef std::list<std::pair<std::string, std::string> > SpecEntryList;
- typedef WrappedForwardIterator<enum ConstIteratorTag { }, const std::string> ConstIterator;
+ struct ConstIteratorTag;
+ typedef WrappedForwardIterator<ConstIteratorTag, const std::string> ConstIterator;
SpecEntryList _binutils_list;
diff --git a/src/clients/reconcilio/broken_linkage_finder/broken_linkage_finder.hh b/src/clients/reconcilio/broken_linkage_finder/broken_linkage_finder.hh
index b7f4873a4..fe4d225e9 100644
--- a/src/clients/reconcilio/broken_linkage_finder/broken_linkage_finder.hh
+++ b/src/clients/reconcilio/broken_linkage_finder/broken_linkage_finder.hh
@@ -38,19 +38,22 @@ class BrokenLinkageFinder :
BrokenLinkageFinder(const paludis::Environment *, const std::string &);
~BrokenLinkageFinder();
- typedef paludis::WrappedForwardIterator<enum BrokenPackageConstIteratorTag { },
+ struct BrokenPackageConstIteratorTag;
+ typedef paludis::WrappedForwardIterator<BrokenPackageConstIteratorTag,
const paludis::tr1::shared_ptr<const paludis::PackageID>
> BrokenPackageConstIterator;
BrokenPackageConstIterator begin_broken_packages() const PALUDIS_ATTRIBUTE((warn_unused_result));
BrokenPackageConstIterator end_broken_packages() const PALUDIS_ATTRIBUTE((warn_unused_result));
- typedef paludis::WrappedForwardIterator<enum BrokenFileConstIteratorTag { }, const paludis::FSEntry> BrokenFileConstIterator;
+ struct BrokenFileConstIteratorTag;
+ typedef paludis::WrappedForwardIterator<BrokenFileConstIteratorTag, const paludis::FSEntry> BrokenFileConstIterator;
BrokenFileConstIterator begin_broken_files(const paludis::tr1::shared_ptr<const paludis::PackageID> &)
const PALUDIS_ATTRIBUTE((warn_unused_result));
BrokenFileConstIterator end_broken_files(const paludis::tr1::shared_ptr<const paludis::PackageID> &)
const PALUDIS_ATTRIBUTE((warn_unused_result));
- typedef paludis::WrappedForwardIterator<enum MissingRequirementConstIteratorTag { }, const std::string> MissingRequirementConstIterator;
+ struct MissingRequirementConstIteratorTag;
+ typedef paludis::WrappedForwardIterator<MissingRequirementConstIteratorTag, const std::string> MissingRequirementConstIterator;
MissingRequirementConstIterator begin_missing_requirements(
const paludis::tr1::shared_ptr<const paludis::PackageID> &, const paludis::FSEntry &)
const PALUDIS_ATTRIBUTE((warn_unused_result));
diff --git a/src/clients/reconcilio/broken_linkage_finder/configuration.hh b/src/clients/reconcilio/broken_linkage_finder/configuration.hh
index e3a46a0bb..b74016fb3 100644
--- a/src/clients/reconcilio/broken_linkage_finder/configuration.hh
+++ b/src/clients/reconcilio/broken_linkage_finder/configuration.hh
@@ -38,7 +38,8 @@ namespace broken_linkage_finder
Configuration(const paludis::FSEntry &);
~Configuration();
- typedef paludis::WrappedForwardIterator<enum DirsIteratorTag { }, const paludis::FSEntry> DirsIterator;
+ struct DirsIteratorTag;
+ typedef paludis::WrappedForwardIterator<DirsIteratorTag, const paludis::FSEntry> DirsIterator;
DirsIterator begin_search_dirs() const PALUDIS_ATTRIBUTE((warn_unused_result));
DirsIterator end_search_dirs() const PALUDIS_ATTRIBUTE((warn_unused_result));
DirsIterator begin_ld_so_conf() const PALUDIS_ATTRIBUTE((warn_unused_result));
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;
};