Make some typedefs private instead of protected (these iterators are not designed to be base classes).

This commit is contained in:
Ion Gaztañaga committed 2015-04-14 14:58:11 +02:00
1 parent 9e326ac254
commit 0b5ebe6cdd
2 files changed
+2 -2

No files matched your search

@@ -34,7 +34,7 @@ namespace intrusive {
template<class ValueTraits, bool IsConst>
class list_iterator
{
protected:
private:
typedef iiterator
<ValueTraits, IsConst, std::bidirectional_iterator_tag> types_t;
@@ -36,7 +36,7 @@ namespace intrusive {
template<class ValueTraits, bool IsConst>
class slist_iterator
{
protected:
private:
typedef iiterator
<ValueTraits, IsConst, std::forward_iterator_tag> types_t;