forked from boostorg/range
replace =default in test to fix iterator_range.cpp unit test regression with older compilers.
This commit is contained in:
1 parent
1e509e6749
commit
470a28ecb6
1 file changed
+1
-1
@@ -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