[range] Fixed a bug in join_iterator where joining a const range and a non-const range led to a compiler error (refs #8483).

[SVN r85400]
This commit is contained in:
Nathan Ridge committed 2013-08-20 06:06:12 +00:00
1 parent b0c1cf556f
commit b4f00e3c18
2 files changed
+19 -2

No files matched your search

+6 -2
View File
@@ -143,8 +143,12 @@ template<typename Iterator1
typename iterator_reference<Iterator2>::type
>::type
>::value,
typename add_const<
typename iterator_reference<Iterator2>::type
typename add_reference<
typename add_const<
typename remove_reference<
typename iterator_reference<Iterator2>::type
>::type
>::type
>::type,
typename iterator_reference<Iterator1>::type
>::type