aboutsummaryrefslogtreecommitdiff
path: root/paludis/util/indirect_iterator.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-11-17 12:33:54 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-11-17 12:33:54 +0000
commit763dc12ae16b75aed6a97b16514f6583feef6663 (patch)
treeffebfd6e8acf7c8ebaa280dde1ca1ebdde6a7141 /paludis/util/indirect_iterator.hh
parent34fe5458d12f8c1d7893a89e59a4d2e5f8095980 (diff)
downloadpaludis-763dc12ae16b75aed6a97b16514f6583feef6663.tar.gz
paludis-763dc12ae16b75aed6a97b16514f6583feef6663.tar.xz
Be kinder to stupid compilers: don't rely upon tr1::shared_ptr<> being callable. Don't explicitly instantiate fully specialised templates if the compielr doesn't allow it. Include -impl headers in more places to work around compilers thinking they can ignore explicit instantiations.
Diffstat (limited to 'paludis/util/indirect_iterator.hh')
-rw-r--r--paludis/util/indirect_iterator.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/util/indirect_iterator.hh b/paludis/util/indirect_iterator.hh
index 6bf5ce0b2..5956b5651 100644
--- a/paludis/util/indirect_iterator.hh
+++ b/paludis/util/indirect_iterator.hh
@@ -94,7 +94,7 @@ namespace paludis
typedef typename tr1::remove_reference<Value_>::type & reference;
typedef typename tr1::remove_reference<Value_>::type * pointer;
typedef std::ptrdiff_t difference_type;
- typedef typename std::iterator_traits<Iter_>::iterator_category iterator_category;
+ typedef std::forward_iterator_tag iterator_category;
///\}