[LyX/master] Address a Clang -Wextra-semi warning

Scott Kostyshak <[email protected]> Sat, 16 May 2026 10:12:33 +0000
Newsgroups gmane.editors.lyx.cvs
Message-ID <[email protected]>
commit 26c75e3053a20f53e9c6742212455447b93672a6
Author: Scott Kostyshak <[email protected]>
Date:   Sat May 16 11:05:23 2026 +0200

    Address a Clang -Wextra-semi warning
    
    src/mathed/InsetMath.h:281:88: error: extra ';' after member function definition [-Werror,-Wextra-semi]
      281 |         ColorCode backgroundColor(PainterInfo const &) const override { return Color_mathbg; };
---
 src/mathed/InsetMath.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mathed/InsetMath.h b/src/mathed/InsetMath.h
index 03adeb820f..60a44065cc 100644
--- a/src/mathed/InsetMath.h
+++ b/src/mathed/InsetMath.h
@@ -278,7 +278,7 @@ public:
 	///
 	uid_type id() const { return this; }
 	///
-	ColorCode backgroundColor(PainterInfo const &) const override { return Color_mathbg; };
+	ColorCode backgroundColor(PainterInfo const &) const override { return Color_mathbg; }
 };
 
 ///
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs