mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
Revert "Kernel: Move Singleton class to AK"
This reverts commit f0906250a1
.
This commit is contained in:
parent
b0a24a83be
commit
8925ad3fa0
Notes:
sideshowbarker
2024-07-19 03:18:16 +09:00
Author: https://github.com/awesomekling
Commit: 8925ad3fa0
31 changed files with 71 additions and 87 deletions
|
@ -24,13 +24,13 @@
|
|||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <AK/Singleton.h>
|
||||
#include <Kernel/Process.h>
|
||||
#include <Kernel/Singleton.h>
|
||||
#include <Kernel/SharedBuffer.h>
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
static auto s_map = AK::make_singleton<Lockable<HashMap<int, NonnullOwnPtr<SharedBuffer>>>>();
|
||||
static auto s_map = make_singleton<Lockable<HashMap<int, NonnullOwnPtr<SharedBuffer>>>>();
|
||||
|
||||
Lockable<HashMap<int, NonnullOwnPtr<SharedBuffer>>>& shared_buffers()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue