aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost/range/patches/deprecated-copy.patch
blob: 87a1a1cc57caea8e579c6371532440ca9f1898a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- a/include/boost/range/sub_range.hpp	(index)
+++ b/include/boost/range/sub_range.hpp	(working tree)
@@ -185,6 +185,8 @@ public:
             : base(impl::adl_begin(const_cast<base&>(static_cast<const base&>(r))),
                    impl::adl_end(const_cast<base&>(static_cast<const base&>(r))))
         { }  
+#else
+        sub_range(const sub_range& r) = default;
 #endif
 
         template< class ForwardRange2 >