Buffer::pimpl_: replace scoped_ptr with a simple pointer.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20657 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-10-02 09:16:54 +00:00
parent 5249b74e5b
commit 8c95397b21
2 changed files with 2 additions and 2 deletions

View File

@ -265,6 +265,7 @@ Buffer::~Buffer()
pimpl_->wa_->closeAll();
delete pimpl_->wa_;
}
delete pimpl_;
}

View File

@ -20,7 +20,6 @@
#include "support/docstring.h"
#include "support/docstream.h"
#include <boost/scoped_ptr.hpp>
#include <boost/signal.hpp>
#include <iosfwd>
@ -422,7 +421,7 @@ private:
/// Use the Pimpl idiom to hide the internals.
class Impl;
/// The pointer never changes although *pimpl_'s contents may.
boost::scoped_ptr<Impl> const pimpl_;
Impl * const pimpl_;
/// A cache for the bibfiles (including bibfiles of loaded child
/// documents), needed for appropriate update of natbib labels.