updated to match changes in the headers

[SVN r10260]
This commit is contained in:
Jeremy Siek
2001-06-03 21:07:46 +00:00
parent 42e4db1539
commit 582ebfd054

View File

@ -5,7 +5,7 @@ struct new_iterator
: public boost::iterator<std::random_access_iterator_tag, int>,
public boost::new_iterator_base
{
typedef boost::random_access_iterator_tag traversal_category;
typedef boost::random_access_traversal_tag traversal_category;
typedef boost::mutable_lvalue_iterator_tag return_category;
int& operator*() const { return *m_x; }
@ -45,9 +45,6 @@ struct old_iterator
};
old_iterator operator+(std::ptrdiff_t, old_iterator x) { return x; }
struct bar { };
void foo(bar) { }
int
main()
{