mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 21:12:08 +02:00
Everywhere: Fix -Winconsistent-missing-override warnings from Clang
This option is already enabled when building Lagom, so let's enable it for the main build too. We will no longer be surprised by Lagom Clang CI builds failing while everything compiles locally. Furthermore, the stronger `-Wsuggest-override` warning is enabled in this commit, which enforces the use of the `override` keyword in all classes, not just those which already have some methods marked as `override`. This works with both GCC and Clang.
This commit is contained in:
committed by
Brian Gianforcaro
parent
813593a485
commit
4a81b33c07
Notes:
sideshowbarker
2024-07-17 22:58:50 +09:00
Author: https://github.com/BertalanD Commit: https://github.com/SerenityOS/serenity/commit/4a81b33c07c Pull-request: https://github.com/SerenityOS/serenity/pull/11206
@@ -943,7 +943,7 @@ public:
|
||||
bool has_selection() const { return !m_select_statement.is_null(); }
|
||||
const RefPtr<Select>& select_statement() const { return m_select_statement; }
|
||||
|
||||
RefPtr<SQLResult> execute(ExecutionContext&) const;
|
||||
virtual RefPtr<SQLResult> execute(ExecutionContext&) const override;
|
||||
|
||||
private:
|
||||
RefPtr<CommonTableExpressionList> m_common_table_expression_list;
|
||||
|
||||
Reference in New Issue
Block a user