mirror of
https://github.com/boostorg/intrusive.git
synced 2025-08-02 22:14:35 +02:00
Make some typedefs private instead of protected (these iterators are not designed to be base classes).
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user