]> git.lyx.org Git - lyx.git/blobdiff - src/LColor.h
fix crash when collapsing ert with cursor inside
[lyx.git] / src / LColor.h
index b410378dc23ba89e2439af64334c2590472bb70a..ab0fdd3a24a7b234419dcf5b8b75e07691361145 100644 (file)
@@ -189,7 +189,7 @@ public:
        ///
        ~LColor();
        ///
-       void operator=(LColor const &);
+       LColor & operator=(LColor);
 
        /** set the given LyX color to the color defined by the X11 name given
         *  \returns true if successful.
@@ -222,7 +222,7 @@ private:
        ///
        void addColor(LColor::color c, std::string const & lyxname) const;
        ///
-       struct Pimpl;
+       class Pimpl;
        ///
        boost::scoped_ptr<Pimpl> pimpl_;
 };