[LyX/master] Address a Clang -Wextra-semi warning
Scott Kostyshak
skostysh at lyx.org
Sat May 16 10:12:33 UTC 2026
commit 26c75e3053a20f53e9c6742212455447b93672a6
Author: Scott Kostyshak <skostysh at lyx.org>
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; }
};
///
More information about the lyx-cvs
mailing list