On Sun, Jul 27, 2003 at 04:56:23PM +0200, Lars Gullik Bjønnes spake thusly: > > Martin Vermeer <[EMAIL PROTECTED]> writes: > > | On Fri, Jul 25, 2003 at 06:53:09PM +0200, Lars Gullik Bjønnes spake thusly: > | > | > > | > Complain within two seconds or this patch goes in. > | > | I find it useful for compilability to add > | > | #include <memory> > > Yes I know that <memory> is needed, strictly speaking. > But I did not want to add that explictly before I saw a real need, and > now you have it. > > Can you provide a patch? > > | at least to insetbase.h. > | > | gcc 2.95.2. Comments on its age are *not* appreciated :-) > > !!2.95.2!! Get a life! > > -- > Lgb
Here's the patch. Someday I'm going to upgrade, when I upgrade my whole system, but that day is not now :-) You mean I should commit this patch? A one liner... Martin
Index: src/insets/insetbase.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/insetbase.h,v retrieving revision 1.8 diff -u -p -r1.8 insetbase.h --- src/insets/insetbase.h 25 Jul 2003 17:11:17 -0000 1.8 +++ src/insets/insetbase.h 27 Jul 2003 15:01:40 -0000 @@ -15,6 +15,7 @@ #include "LString.h" #include <vector> +#include <memory> class BufferView; class FuncRequest;
pgp00000.pgp
Description: PGP signature