]> git.lyx.org Git - features.git/commit
Amend 1dc66608
authorScott Kostyshak <skostysh@lyx.org>
Mon, 10 Apr 2023 17:10:11 +0000 (13:10 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Mon, 10 Apr 2023 17:14:15 +0000 (13:14 -0400)
commit7368e5be2be2c24f5cb363443d86c72973bd2719
tree7629243c92e554eed01377343f3f4155e256a094
parente3288b4b4a3649c030fa679c5edbdda9a08b8e98
Amend 1dc66608

Declare override, otherwise we get the following warning:

src/insets/InsetListings.h:42:7: error: 'isEnvironment' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override]
        bool isEnvironment() const { return !params().isInline(); }
             ^
src/insets/Inset.h:606:15: note: overridden virtual function is here
        virtual bool isEnvironment() const { return getLayout().latextype() == InsetLaTeXType::ENVIRONMENT; }
                     ^
1 error generated.
src/insets/InsetListings.h