]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetSpace.h
More requires --> required, for C++2a.
[lyx.git] / src / insets / InsetSpace.h
index 03ca7aebabe6bee5bc03a516cc2e16109cf785e1..2784022955b6e80adfe84234ced1eec780394325 100644 (file)
@@ -74,7 +74,7 @@ struct InsetSpaceParams {
                CUSTOM_PROTECTED
        };
        ///
-       InsetSpaceParams(bool m = false) : kind(NORMAL), math(m) {}
+       explicit InsetSpaceParams(bool m = false) : kind(NORMAL), math(m) {}
        ///
        void write(std::ostream & os) const;
        ///
@@ -139,7 +139,7 @@ public:
        ///
        bool hasSettings() const { return true; }
        ///
-       bool clickable(int, int) const { return true; }
+       bool clickable(BufferView const &, int, int) const { return true; }
        ///
        InsetCode lyxCode() const { return SPACE_CODE; }
        /// does this inset try to use all available space (like \\hfill does)?