1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:57:44 +00:00

LibWeb: Make serializing GridTrack classes infallible

This commit is contained in:
Sam Atkins 2023-08-22 12:35:16 +01:00 committed by Sam Atkins
parent 6bee81cfb6
commit 2754c16e97
7 changed files with 31 additions and 31 deletions

View file

@ -36,7 +36,7 @@ public:
Type type() const { return m_type; }
String line_name() const { return m_line_name; }
ErrorOr<String> to_string() const;
String to_string() const;
bool operator==(GridTrackPlacement const& other) const
{
return m_type == other.type() && m_span_count_or_position == other.raw_value();