]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetVSpace.h
requires is a keyword in C++2a
[lyx.git] / src / insets / InsetVSpace.h
index 42d76bc9971a73df6f47c6a2018d4bbfd0923955..b2c8ac9780bb799af576770e4ece9bff7fdc3dc9 100644 (file)
@@ -24,7 +24,7 @@ public:
        ///
        InsetVSpace() : Inset(0) {}
        ///
-       InsetVSpace(VSpace const &);
+       explicit InsetVSpace(VSpace const &);
        /// How much?
        VSpace const & space() const { return space_; }
        ///
@@ -62,7 +62,7 @@ private:
        ///
        void write(std::ostream & os) const;
        ///
-       DisplayType display() const { return Display; }
+       DisplayType display() const { return AlignCenter; }
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///