]> git.lyx.org Git - features.git/commitdiff
Disable assigment operator
authorGeorg Baum <baum@lyx.org>
Sun, 11 Oct 2015 10:04:43 +0000 (12:04 +0200)
committerGeorg Baum <baum@lyx.org>
Sun, 11 Oct 2015 10:04:43 +0000 (12:04 +0200)
Forgot that in cea2d71e641

src/insets/InsetExternal.h

index 3cb295b5667d6d19caf77a5497f87caf863ab794..00546faf80c2e0847a7e21a10ef858bd2cb620eb 100644 (file)
@@ -96,6 +96,9 @@ class RenderBase;
 ///
 class InsetExternal : public Inset, public boost::signals::trackable
 {
+       // Disable assignment operator, since it is not used, and it is too
+       // complicated to implement it consistently with the copy constructor
+       InsetExternal & operator=(InsetExternal const &);
 public:
        InsetExternal(Buffer *);
        ///