forked from boostorg/range
Remove ill-formed MSVC-specific code that doesn't compile with /permissive-
This commit is contained in:
1 parent
4dd5ad0f64
commit
c24661a636
1 file changed
+1
-6
@@ -252,12 +252,7 @@ namespace boost {
|
||||
n = i - j;
|
||||
}
|
||||
private:
|
||||
// MSVC 14.1 - avoid C4596: 'difference_type': illegal qualified name in member declaration
|
||||
#if defined(_MSC_VER) && _MSC_VER >= 1912
|
||||
BOOST_DEDUCED_TYPENAME difference_type n;
|
||||
#else
|
||||
BOOST_DEDUCED_TYPENAME RandomAccessIteratorConcept::difference_type n;
|
||||
#endif
|
||||
BOOST_DEDUCED_TYPENAME RandomAccessIteratorConcept<Iterator>::difference_type n;
|
||||
Iterator i;
|
||||
Iterator j;
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user