[LyX/master] * xml.cpp - include cleanup.
Kornel Benko
kornel at lyx.org
Tue May 20 05:32:54 UTC 2025
Am Mon, 19 May 2025 20:34:02 +0000
schrieb Pavel Sanda <sanda at lyx.org>:
> commit a2fdf069a3207b506cc01b742ead04fbd0068e7e
> Author: Pavel Sanda <sanda at lyx.org>
> Date: Mon May 19 22:29:57 2025 +0200
>
> * xml.cpp - include cleanup.
>
> Finished first pass through filtered candidates generated at 62bffb9968.
> ---
> src/xml.cpp | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/src/xml.cpp b/src/xml.cpp
> index 5b81024336..637ef0d335 100644
> --- a/src/xml.cpp
> +++ b/src/xml.cpp
> @@ -18,7 +18,6 @@
> #include "Counters.h"
> #include "Layout.h"
> #include "Paragraph.h"
> -#include "Text.h"
> #include "TextClass.h"
>
> #include "support/convert.h"
I get now:
/usr2/src/lyx/lyx-git/src/xml.cpp:138:40: error: no member named 'find_if' in namespace
'std'; did you mean 'std::ranges::find_if'? 138 |
attributes.erase(attributes.begin(), std::find_if(attributes.begin(), attributes.end(), |
^~~~~~~~~~~~ |
std::ranges::find_if
/usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/ranges_util.h:543:33:
note: 'std::ranges::find_if' declared here 543 | inline constexpr __find_if_fn
find_if{}; | ^ 1 error generated.
Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20250520/1c44c9eb/attachment.sig>
More information about the lyx-devel
mailing list