1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:27:45 +00:00

Everywhere: Remove needless trailing semi-colons after functions

This is a new option in clang-format-16.
This commit is contained in:
Timothy Flynn 2023-07-07 22:48:11 -04:00 committed by Linus Groh
parent aff81d318b
commit c911781c21
243 changed files with 483 additions and 481 deletions

View file

@ -31,8 +31,8 @@ public:
virtual ~AudioContext() override;
double base_latency() const { return m_base_latency; };
double output_latency() const { return m_output_latency; };
double base_latency() const { return m_base_latency; }
double output_latency() const { return m_output_latency; }
AudioTimestamp get_output_timestamp();
WebIDL::ExceptionOr<JS::NonnullGCPtr<JS::Promise>> resume();
WebIDL::ExceptionOr<JS::NonnullGCPtr<JS::Promise>> suspend();

View file

@ -18,16 +18,16 @@ class BaseAudioContext : public DOM::EventTarget {
public:
virtual ~BaseAudioContext() override;
float sample_rate() const { return m_sample_rate; };
double current_time() const { return m_current_time; };
Bindings::AudioContextState state() const { return m_control_thread_state; };
float sample_rate() const { return m_sample_rate; }
double current_time() const { return m_current_time; }
Bindings::AudioContextState state() const { return m_control_thread_state; }
void set_onstatechange(WebIDL::CallbackType*);
WebIDL::CallbackType* onstatechange();
void set_sample_rate(float sample_rate) { m_sample_rate = sample_rate; };
void set_control_state(Bindings::AudioContextState state) { m_control_thread_state = state; };
void set_rendering_state(Bindings::AudioContextState state) { m_rendering_thread_state = state; };
void set_sample_rate(float sample_rate) { m_sample_rate = sample_rate; }
void set_control_state(Bindings::AudioContextState state) { m_control_thread_state = state; }
void set_rendering_state(Bindings::AudioContextState state) { m_rendering_thread_state = state; }
protected:
explicit BaseAudioContext(JS::Realm&);