mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Make the Buffer class non-copyable, otherwise LyX crashes when 'Impl * const d' is deleted while deleting a copy of the Buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39515 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d68309ee17
commit
3bd87e5a64
@ -673,7 +673,10 @@ private:
|
||||
///
|
||||
void collectChildren(ListOfBuffers & children, bool grand_children) const;
|
||||
|
||||
|
||||
/// noncopyable
|
||||
Buffer(Buffer const &);
|
||||
void operator=(Buffer const &);
|
||||
|
||||
/// Use the Pimpl idiom to hide the internals.
|
||||
class Impl;
|
||||
/// The pointer never changes although *pimpl_'s contents may.
|
||||
|
Loading…
Reference in New Issue
Block a user