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:
parent
6bee81cfb6
commit
2754c16e97
7 changed files with 31 additions and 31 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue