forked from boostorg/range
replace =default in test to fix iterator_range.cpp unit test regression with older compilers.
This commit is contained in:
@ -269,7 +269,7 @@ inline void test_advance()
|
||||
struct ptr_iterator
|
||||
: boost::iterator_adaptor<ptr_iterator, int *>
|
||||
{
|
||||
ptr_iterator() = default;
|
||||
ptr_iterator() {}
|
||||
ptr_iterator(int *p) : boost::iterator_adaptor<ptr_iterator, int *>(p) {}
|
||||
private:
|
||||
typedef void iterator; // To throw off the SFINAE mechanism in iterator_range
|
||||
|
Reference in New Issue
Block a user