Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

| Lars, to compile ShareContainer.h with cxx I have to apply the
| following patch (compilation is not finished yet, so I have to check
| that it links). Is it OK with you?
| 
| JMarc
| 
| Index: src/ShareContainer.h
| ===================================================================
| RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ShareContainer.h,v
| retrieving revision 1.1
| diff -u -r1.1 ShareContainer.h
| --- src/ShareContainer.h      2001/03/06 14:07:13     1.1
| +++ src/ShareContainer.h      2001/03/06 14:44:54
| @@ -15,7 +15,7 @@
|       ///
|       typedef std::vector<boost::shared_ptr<Share> > Params;
|       ///
| -     Params::value_type
| +     typename Params::value_type

Let's add a new typedef instead.

typedef Params::value_type value_type;

evt. with typename.

typedef typename Params::value_type value_type;

        Lgb

Reply via email to