include/com/sun/star/uno/Sequence.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit d8dc108ba083d8e3303a936c090c3e3692c63150 Author: Michael Stahl <michael.st...@cib.de> AuthorDate: Wed Feb 13 14:17:46 2019 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Thu Feb 28 17:44:23 2019 +0100 fix Sequence ostream operator<< wrt. const Change-Id: I0e9cf35b45b0bcd58ce9d987ffb0384afda4c5dd Reviewed-on: https://gerrit.libreoffice.org/68021 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/include/com/sun/star/uno/Sequence.hxx b/include/com/sun/star/uno/Sequence.hxx index 64f84ffc7bc3..e9f5cf73db35 100644 --- a/include/com/sun/star/uno/Sequence.hxx +++ b/include/com/sun/star/uno/Sequence.hxx @@ -257,7 +257,7 @@ struct negation : std::integral_constant<bool, !bool(B::value)> { }; @since LibreOffice 6.1 */ template< typename value_t, typename charT, typename traits > -inline typename std::enable_if<uno_detail::negation<std::is_same<sal_Int8, value_t>>::value, std::basic_ostream<charT, traits>>::type &operator<<(std::basic_ostream<charT, traits> &os, css::uno::Sequence < value_t > &v) +inline typename std::enable_if<uno_detail::negation<std::is_same<sal_Int8, value_t>>::value, std::basic_ostream<charT, traits>>::type &operator<<(std::basic_ostream<charT, traits> &os, css::uno::Sequence<value_t> const& v) { const value_t *pAry = v.getConstArray(); sal_Int32 nLen = v.getLength(); @@ -266,7 +266,7 @@ inline typename std::enable_if<uno_detail::negation<std::is_same<sal_Int8, value } template< typename value_t, typename charT, typename traits > -inline typename std::enable_if<std::is_same<sal_Int8, value_t>::value, std::basic_ostream<charT, traits>>::type &operator<<(std::basic_ostream<charT, traits> &os, css::uno::Sequence < value_t > &v) +inline typename std::enable_if<std::is_same<sal_Int8, value_t>::value, std::basic_ostream<charT, traits>>::type &operator<<(std::basic_ostream<charT, traits> &os, css::uno::Sequence<value_t> const& v) { // specialisation for signed bytes const sal_Int8 *pAry = v.getConstArray(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits