mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibWeb: Declare defaulted style value comparision operators inline
Some versions of clang, such as Apple clang-1400.0.29.202 error out on the previous out of line operators. Explicitly defaulting comparison operators out of line is allowed per P2085R0, but was checked in clang before version 15 in C++20 mode.
This commit is contained in:
parent
840afbb55f
commit
4a70fa052f
Notes:
sideshowbarker
2024-07-17 03:03:15 +09:00
Author: https://github.com/ADKaster
Commit: 4a70fa052f
Pull-request: https://github.com/SerenityOS/serenity/pull/18052
Reviewed-by: https://github.com/linusg
4 changed files with 2 additions and 6 deletions
|
@ -19,6 +19,4 @@ ErrorOr<String> ContentStyleValue::to_string() const
|
|||
return m_properties.content->to_string();
|
||||
}
|
||||
|
||||
bool ContentStyleValue::Properties::operator==(ContentStyleValue::Properties const&) const = default;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue