]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_atom.h
Compile fix gcc 2.95 + stlport
[lyx.git] / src / mathed / math_atom.h
index 9e02b7a8d30883d17d865cb1a9154433a66681a6..37553df1edd0540fd253794f9f31536f9baeb17a 100644 (file)
@@ -58,11 +58,12 @@ public:
        void operator=(MathAtom const &);
        /// access to the inset (checked with gprof)
        MathInset       * nucleus()       { return nucleus_; }
+       MathInset const * nucleus() const { return nucleus_; }
        /// access to the inset
        MathInset const * operator->() const { return nucleus_; }
 
        /// width cache. Not nice...
-       mutable int width_;
+       //mutable int width_;
 
 private:
        ///