]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathMacroArgument.h
Make undo action no-ops when the buffer is read-only
[lyx.git] / src / mathed / InsetMathMacroArgument.h
index 441ac3266fbf98365c674a61c5e5f2ab5bf989dd..c11a9a6dbb2928b31c0aacb93e05db3f4a162f94 100644 (file)
@@ -24,7 +24,7 @@ namespace lyx {
 // A # that failed to parse
 class InsetMathHash : public InsetMath {
 public:
-       explicit InsetMathHash(docstring const & str = docstring()) : str_('#' + str) {};
+       explicit InsetMathHash(docstring const & str = docstring()) : str_('#' + str) {}
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const override;
        ///