mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
5249b74e5b
commit
8c95397b21
@ -265,6 +265,7 @@ Buffer::~Buffer()
|
||||
pimpl_->wa_->closeAll();
|
||||
delete pimpl_->wa_;
|
||||
}
|
||||
delete pimpl_;
|
||||
}
|
||||
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user