Warning suppression for GCC (warning: declaration of 'end' shadows a member of 'this').

[SVN r33712]
This commit is contained in:
Dave Abrahams
2006-04-16 18:02:23 +00:00
parent a4e7ba6c28
commit c0fc8532e7

View File

@ -53,14 +53,14 @@ namespace boost
public: public:
filter_iterator() { } filter_iterator() { }
filter_iterator(Predicate f, Iterator x, Iterator end = Iterator()) filter_iterator(Predicate f, Iterator x, Iterator end_ = Iterator())
: super_t(x), m_predicate(f), m_end(end) : super_t(x), m_predicate(f), m_end(end_)
{ {
satisfy_predicate(); satisfy_predicate();
} }
filter_iterator(Iterator x, Iterator end = Iterator()) filter_iterator(Iterator x, Iterator end_ = Iterator())
: super_t(x), m_predicate(), m_end(end) : super_t(x), m_predicate(), m_end(end_)
{ {
// Pro8 is a little too aggressive about instantiating the // Pro8 is a little too aggressive about instantiating the
// body of this function. // body of this function.