41ab6a5dfa
...so it can be used with std::sort in impSolve() (further down in basegfx/source/polygon/b2dpolypolygoncutter.cxx). At least on macOS with a LLVM 20 trunk libc++ in hardened mode, JunitTest_sfx2_complex failed with > ~/llvm/inst/bin/../include/c++/v1/__debug_utils/strict_weak_ordering_check.h:59: assertion __comp(*(__first + __a), *(__first + __b)) failed: Your comparator is not a valid strict-weak ordering To simplify the new implementation of struct SN operator <, add a B2DPoint operator <=> (but whose implementation would cause > In file included from /home/tdf/lode/jenkins/workspace/android_arm/basegfx/source/curve/b2dbeziertools.cxx:21: > In file included from /home/tdf/lode/jenkins/workspace/android_arm/include/basegfx/curve/b2dcubicbezier.hxx:22: > /home/tdf/lode/jenkins/workspace/android_arm/include/basegfx/point/b2dpoint.hxx:129:41: error: invalid operands to binary expression ('tuple<const double &, const double &>' and 'tuple<const double &, const double &>') > { return std::tie(a.mnX, a.mnY) <=> std::tie(b.mnX, b.mnY); } > ~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~ etc. on Android with NDK 23.2, see <https://ci.libreoffice.org/job/gerrit_android_arm/43174/>, so work around that in the implementation for now). Change-Id: I9f46d39dc9e9024fe9ac59413c44e49642282c8b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175622 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de> |
||
---|---|---|
.. | ||
android | ||
animations | ||
apple_remote | ||
avmedia | ||
basctl | ||
basegfx | ||
basic | ||
bridges | ||
canvas | ||
codemaker | ||
com/sun/star/uno | ||
comphelper | ||
connectivity | ||
cppcanvas | ||
cppu | ||
cppuhelper | ||
cppunittester | ||
dbaccess | ||
desktop | ||
docmodel | ||
drawinglayer | ||
editeng | ||
embeddedobj | ||
filter | ||
formula | ||
fpicker | ||
framework | ||
helpcompiler | ||
i18nlangtag | ||
i18npool | ||
i18nutil | ||
jvmaccess | ||
jvmfwk | ||
LibreOfficeKit | ||
linguistic | ||
o3tl | ||
oox | ||
opencl | ||
osl | ||
package | ||
registry | ||
rtl | ||
sal | ||
salhelper | ||
sax | ||
sfx2 | ||
sot | ||
static/unoembindhelpers | ||
store | ||
svl | ||
svtools | ||
svx | ||
systools | ||
test | ||
toolkit | ||
tools | ||
typelib | ||
ucbhelper | ||
uno | ||
unoidl | ||
unotest | ||
unotools | ||
vbahelper | ||
vcl | ||
xmloff | ||
xmlreader | ||
xmlscript | ||
default.rc | ||
IwyuFilter_include.yaml | ||
postmac.h | ||
postwin.h | ||
premac.h | ||
prewin.h | ||
version.hrc |