summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS/Number.h
diff options
context:
space:
mode:
authorAndrew Kaster <andrewdkaster@gmail.com>2022-04-09 16:02:13 -0600
committerBrian Gianforcaro <b.gianfo@gmail.com>2022-04-23 10:43:32 -0700
commitf1d47ea618b9c8be9a448ec1130099b0985d3630 (patch)
tree2ff3d980e271cfe499c75cc431fbb14906e500fb /Userland/Libraries/LibWeb/CSS/Number.h
parent83603d68d2e6fe51673c9857b459138df761327a (diff)
downloadserenity-f1d47ea618b9c8be9a448ec1130099b0985d3630.zip
LibWeb+AudioServer: Remove unused spaceship operators
We aren't actually using these for anything, and the spaceship operator requires ``<compare>`` from the STL, which we'd rather not include.
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/Number.h')
-rw-r--r--Userland/Libraries/LibWeb/CSS/Number.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/Number.h b/Userland/Libraries/LibWeb/CSS/Number.h
index e24f9e584b..3d78e28e78 100644
--- a/Userland/Libraries/LibWeb/CSS/Number.h
+++ b/Userland/Libraries/LibWeb/CSS/Number.h
@@ -68,11 +68,6 @@ public:
return { Type::Number, m_value / other.m_value };
}
- auto operator<=>(Number const& other) const
- {
- return m_value - other.m_value;
- }
-
private:
float m_value { 0 };
Type m_type;