On Sun, Oct 21, 2012 at 08:49:06PM +0200, Lars Gullik Bjønnes wrote: > diff --git a/src/LyX.h b/src/LyX.h > index 70b8b7e..97c9b4a 100644 > --- a/src/LyX.h > +++ b/src/LyX.h > @@ -16,6 +16,7 @@ > > #include "support/strfwd.h" > > +#include <boost/scoped_ptr.hpp> > #include <vector> > > namespace lyx { > @@ -126,7 +127,7 @@ private: > /// Use the Pimpl idiom to hide the internals. > // Mostly used for singletons. > struct Impl; > - Impl * pimpl_; > + boost::scoped_ptr<struct Impl> pimpl_; >
The Empire strikes back. Bald-pointer-phobia accompanied by swift C style use of "struct". What a deadly combination! Andre' PS: 1/2 ;-) for those who are missing one...