replace =default in test to fix iterator_range.cpp unit test regression with older compilers.

This commit is contained in:
Neil Groves committed 2014-08-15 12:26:30 +01:00
1 parent 1e509e6749
commit 470a28ecb6
1 file changed
+1 -1
+1 -1
View File
@@ -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