diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-08-25 08:04:07 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-08-25 09:50:11 +0200 |
commit | bb2bd14b941ea0a8463264dcf8902ae67302b386 (patch) | |
tree | 80ccbf1fae2864c8d19e3834975756d89c52a2f6 /svx/source/inc/xfm_addcondition.hxx | |
parent | 900ce2fa32ae1726f64fc6959010650e93854ab3 (diff) |
This copy ctor should probably take its arg by const ref
It was introduced in 3426dcfec2b4d5c755024c355f323ecc9f656e4a "vcl gtk3:
Introduce AT-SPI2 tests for the GTK3 accessibility layer", and caused at least a
build with recent GCC 14 trunk to failed with
> In file included from vcl/qa/cppunit/a11y/atspi2/atspiwrapper.cxx:10:
> vcl/qa/cppunit/a11y/atspi2/atspiwrapper.hxx: In member function ‘Atspi::Accessible::iterator Atspi::Accessible::iterator::operator++(int)’:
> vcl/qa/cppunit/a11y/atspi2/atspiwrapper.hxx:524:20: error: cannot bind non-const lvalue reference of type ‘Atspi::Accessible::iterator&’ to an rvalue of type ‘Atspi::Accessible::iterator’
> 524 | return other;
> | ^~~~~
> vcl/qa/cppunit/a11y/atspi2/atspiwrapper.hxx:508:28: note: initializing argument 1 of ‘Atspi::Accessible::iterator::iterator(Atspi::Accessible::iterator&)’
> 508 | iterator(iterator& other)
> | ~~~~~~~~~~^~~~~
Change-Id: Ia9a1e3f58d67db1fc9851fe8a844f2076ff740c3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156075
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svx/source/inc/xfm_addcondition.hxx')
0 files changed, 0 insertions, 0 deletions