From 470a28ecb66641c1a606926b3466f2d6fc19d240 Mon Sep 17 00:00:00 2001 From: Neil Groves Date: Fri, 15 Aug 2014 12:26:30 +0100 Subject: [PATCH] replace =default in test to fix iterator_range.cpp unit test regression with older compilers. --- test/iterator_range.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/iterator_range.cpp b/test/iterator_range.cpp index 7fa8c74..67c3f7e 100644 --- a/test/iterator_range.cpp +++ b/test/iterator_range.cpp @@ -269,7 +269,7 @@ inline void test_advance() struct ptr_iterator : boost::iterator_adaptor { - ptr_iterator() = default; + ptr_iterator() {} ptr_iterator(int *p) : boost::iterator_adaptor(p) {} private: typedef void iterator; // To throw off the SFINAE mechanism in iterator_range