mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +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,6 +673,9 @@ 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;
|
||||
|
Loading…
Reference in New Issue
Block a user