]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathMacroTemplate.h
Fix build with GNU libstdc++ C++11 ABI
[lyx.git] / src / mathed / MathMacroTemplate.h
index 9bb7cfb3d739e70ef0d89c2a9d66b4ad9f6196a3..0bb3d4db0be430b2be23042a2a58ccd205a7e09f 100644 (file)
@@ -17,8 +17,6 @@
 #include "MacroTable.h"
 #include "MathData.h"
 
-#include "support/types.h"
-
 
 namespace lyx {
 
@@ -89,7 +87,7 @@ public:
        virtual void validate(LaTeXFeatures &) const;
 
        /// decide whether its a redefinition
-       void updateToContext(MacroContext const & mc) const;
+       void updateToContext(MacroContext const & mc);
 
        ///
        void draw(PainterInfo & pi, int x, int y) const;
@@ -166,7 +164,7 @@ private:
        /// (re)newcommand or def
        mutable MacroType type_;
        /// defined before already?
-       mutable bool redefinition_;
+       bool redefinition_;
        ///
        void createLook(int args) const;
        ///