mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:08:10 +00:00
Everywhere: Replace AK::Singleton => Singleton
This commit is contained in:
parent
eb60cb156d
commit
c94c15d45c
35 changed files with 40 additions and 40 deletions
|
@ -109,7 +109,7 @@ struct SignalHandlersInfo {
|
|||
int next_signal_id { 0 };
|
||||
};
|
||||
|
||||
static AK::Singleton<SignalHandlersInfo> s_signals;
|
||||
static Singleton<SignalHandlersInfo> s_signals;
|
||||
template<bool create_if_null = true>
|
||||
inline SignalHandlersInfo* signals_info()
|
||||
{
|
||||
|
|
|
@ -67,7 +67,7 @@ public:
|
|||
static DefaultRootCACertificates& the() { return s_the; }
|
||||
|
||||
private:
|
||||
static AK::Singleton<DefaultRootCACertificates> s_the;
|
||||
static Singleton<DefaultRootCACertificates> s_the;
|
||||
|
||||
Vector<Certificate> m_ca_certificates;
|
||||
};
|
||||
|
|
|
@ -344,7 +344,7 @@ bool TLSv12::add_client_key(ReadonlyBytes certificate_pem_buffer, ReadonlyBytes
|
|||
return add_client_key(certificate);
|
||||
}
|
||||
|
||||
AK::Singleton<DefaultRootCACertificates> DefaultRootCACertificates::s_the;
|
||||
Singleton<DefaultRootCACertificates> DefaultRootCACertificates::s_the;
|
||||
DefaultRootCACertificates::DefaultRootCACertificates()
|
||||
{
|
||||
// FIXME: This might not be the best format, find a better way to represent CA certificates.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue