Commit graph

1 commit

Author SHA1 Message Date
Mikhail Novosyolov
8eb31fe67c cherry-pick "Adapt o3tl::span to removal of std::span::cbegin et al"
https://github.com/LibreOffice/core/commit/6fbfad6b

```
In file included from /builddir/build/BUILD/libreoffice-6.3.5/include/sfx2/dispatch.hxx:30:
/builddir/build/BUILD/libreoffice-6.3.5/include/o3tl/span.hxx:19:29: error: no member named 'span' in namespace 'std'
namespace o3tl { using std::span; }
                       ~~~~~^
1 warning generated.
In file included from /builddir/build/BUILD/libreoffice-6.3.5/sfx2/source/appl/appmisc.cxx:56:
/builddir/build/BUILD/libreoffice-6.3.5/include/sfx2/dispatch.hxx:146:46: error: no template named 'span' in namespace 'o3tl'
                                       o3tl::span<sal_uInt16 const> pSIDs = o3tl::span<sal_uInt16 const>());
                                       ~~~~~~^
/builddir/build/BUILD/libreoffice-6.3.5/include/sfx2/dispatch.hxx:146:83: error: no member named 'span' in namespace 'o3tl'
                                       o3tl::span<sal_uInt16 const> pSIDs = o3tl::span<sal_uInt16 const>());
                                                                            ~~~~~~^
/builddir/build/BUILD/libreoffice-6.3.5/include/sfx2/dispatch.hxx:146:88: error: unexpected type name 'sal_uInt16': expected expression
                                       o3tl::span<sal_uInt16 const> pSIDs = o3tl::span<sal_uInt16 const>());
                                                                                       ^
1 warning and 4 errors generated.
```
2020-04-04 16:33:18 +03:00