mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:27:45 +00:00
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.
This commit is contained in:
parent
83603d68d2
commit
f1d47ea618
4 changed files with 0 additions and 23 deletions
|
@ -7,8 +7,6 @@
|
|||
#pragma once
|
||||
|
||||
#include "Mixer.h"
|
||||
#include <compare>
|
||||
|
||||
namespace AudioServer {
|
||||
|
||||
// This is in buffer counts.
|
||||
|
@ -52,16 +50,6 @@ public:
|
|||
return m_old_value * (1 - m_current_fade) + m_new_value * (m_current_fade);
|
||||
}
|
||||
|
||||
auto operator<=>(FadingProperty<T> const& other) const
|
||||
{
|
||||
return static_cast<T>(this) <=> static_cast<T>(other);
|
||||
}
|
||||
|
||||
auto operator<=>(T const& other) const
|
||||
{
|
||||
return static_cast<T>(*this) <=> other;
|
||||
}
|
||||
|
||||
void advance_time()
|
||||
{
|
||||
m_current_fade += 1.0 / static_cast<double>(m_fade_time);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue