]> git.lyx.org Git - features.git/blobdiff - src/Buffer.h
Make the Buffer class non-copyable, otherwise LyX crashes when 'Impl * const d' is...
[features.git] / src / Buffer.h
index a6db5ec01076935d2cd58ae466487de75fbdcffd..273123a5e6fc001770005a4b438ea473e1ce5f6f 100644 (file)
@@ -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.