Am Tue, 20 May 2025 08:09:58 +0200
schrieb Pavel Sanda <[email protected]>:

> On Tue, May 20, 2025 at 07:32:54AM +0200, Kornel Benko wrote:
> > 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.  
> 
> Does adding #include <algorithm> help?
> 
> (If so please commit, not on my machine).
> Pavel

Yes, it helps.
Commit ccf60e2c

        Kornel

Attachment: pgp83xHmZTBCI.pgp
Description: Digitale Signatur von OpenPGP

-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to