diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-08-03 22:59:01 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-08-04 08:17:47 +0200 |
commit | fba874c162bcb78f2979f4da57ccd4c384c71d72 (patch) | |
tree | 8c4f53859858696d87cb41f9215225d53c942610 /vcl/uiconfig | |
parent | 4115ad1035cb13e06ed00791415a4258767b8808 (diff) |
Fix ambiguous calls in C++20
...which added a
> template<class It, class End>
> constexpr basic_string_view(It begin, End end);
ctor, causing
> vcl/source/window/builder.cxx:2966:35: error: call to 'get' is ambiguous
> sFinalValue = Translate::get({sContext.getStr(), sValue.getStr()}, m_pParserState->m_aResLocale);
> ^~~~~~~~~~~~~~
> include/unotools/resmgr.hxx:67:33: note: candidate function
> UNOTOOLS_DLLPUBLIC OUString get(std::string_view aId, const std::locale &loc);
> ^
> include/unotools/resmgr.hxx:69:33: note: candidate function
> UNOTOOLS_DLLPUBLIC OUString get(TranslateId sContextAndId, const std::locale &loc);
> ^
etc.
Change-Id: I638be4a3d310179ee73866c4a70b20c49925ede6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119957
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/uiconfig')
0 files changed, 0 insertions, 0 deletions